mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
Quiet an innocuous valgrind warning.
This commit is contained in:
parent
bfc84b01f3
commit
5a13dd2b76
@ -250,6 +250,7 @@ expand_iolog_path(const char *prefix, const char *dir, const char *file,
|
||||
}
|
||||
#endif
|
||||
/* We only calls strftime() on the current part of the buffer. */
|
||||
tmpbuf[sizeof(tmpbuf) - 1] = '\0';
|
||||
len = strftime(tmpbuf, sizeof(tmpbuf), dst0, timeptr);
|
||||
|
||||
#ifdef HAVE_SETLOCALE
|
||||
|
Loading…
x
Reference in New Issue
Block a user