diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdtime/strftime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c index 2712d95..23120f2 100644 --- a/lib/libc/stdtime/strftime.c +++ b/lib/libc/stdtime/strftime.c @@ -446,7 +446,7 @@ _conv(n, format, pt, ptlim) { char buf[INT_STRLEN_MAXIMUM(int) + 1]; - (void) snprintf(buf, sizeof(buf), format, n); + (void) sprintf(buf, format, n); return _add(buf, pt, ptlim); } |