diff options
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r-- | sysdep/unix/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 1ee1c073..7857a272 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -288,7 +288,7 @@ tm_format_date(char *x, bird_clock_t t) struct tm *tm; tm = localtime(&t); - sprintf(x, "%02d-%02d-%04d", tm->tm_mday, tm->tm_mon+1, tm->tm_year+1900); + bsprintf(x, "%02d-%02d-%04d", tm->tm_mday, tm->tm_mon+1, tm->tm_year+1900); } void |