mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +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
|
#endif
|
||||||
/* We only calls strftime() on the current part of the buffer. */
|
/* We only calls strftime() on the current part of the buffer. */
|
||||||
|
tmpbuf[sizeof(tmpbuf) - 1] = '\0';
|
||||||
len = strftime(tmpbuf, sizeof(tmpbuf), dst0, timeptr);
|
len = strftime(tmpbuf, sizeof(tmpbuf), dst0, timeptr);
|
||||||
|
|
||||||
#ifdef HAVE_SETLOCALE
|
#ifdef HAVE_SETLOCALE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user