From d7422f2f195d94530a1bdb12b49f13a6bcccabfc Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 18 Feb 2001 04:07:50 +0000 Subject: [PATCH] Back out snprintf -> sprintf change until I have time to look at it. --- lib/libc/stdtime/strftime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c index 2712d95ed27..23120f2cf7c 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); }