diff options
| author | Kris Kennaway <kris@FreeBSD.org> | 2000-11-26 09:05:40 +0000 |
|---|---|---|
| committer | Kris Kennaway <kris@FreeBSD.org> | 2000-11-26 09:05:40 +0000 |
| commit | 4b5e6561d3f4466a98fe1d298815dbfe4be3d339 (patch) | |
| tree | 92319bc6a66f553c32e2cd4a82b0bd0297993fcd /lib/libc/stdtime/strftime.c | |
| parent | 0ab378def6a1152dd0cd4616952ad23edb731b16 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdtime/strftime.c')
| -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 40e015549223..cd506c1cbeaa 100644 --- a/lib/libc/stdtime/strftime.c +++ b/lib/libc/stdtime/strftime.c @@ -443,7 +443,7 @@ _conv(n, format, pt, ptlim) { char buf[INT_STRLEN_MAXIMUM(int) + 1]; - (void) sprintf(buf, format, n); + (void) snprintf(buf, sizeof(buf), format, n); return _add(buf, pt, ptlim); } |
