summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-02-18 04:07:50 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-02-18 04:07:50 +0000
commitd7422f2f195d94530a1bdb12b49f13a6bcccabfc (patch)
tree06debe2deb5e1864277d398a40e292c00073009b
parentb64f39b6554a7954f23be06c7af6b9fd494926f8 (diff)
Notes
-rw-r--r--lib/libc/stdtime/strftime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c
index 2712d95ed2761..23120f2cf7cfa 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);
}