summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-02-18 04:06:49 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-02-18 04:06:49 +0000
commit02bad996fbfc2c1c0b64afe77b9cb8b203636e43 (patch)
treefb7164ae16ad686a3ae42719915f6ae17fc60bec /lib/libc
parenta1a0b618cbf5119cab0d42ee9528fc5b2a62cb3c (diff)
Notes
Diffstat (limited to 'lib/libc')
-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 cd506c1cbeaa..40e015549223 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) snprintf(buf, sizeof(buf), format, n);
+ (void) sprintf(buf, format, n);
return _add(buf, pt, ptlim);
}