diff options
author | 2003-06-11 21:05:09 +0000 | |
---|---|---|
committer | 2003-06-11 21:05:09 +0000 | |
commit | 1929d8d4f7801e9491a7ef9d8cfd2983cea84a30 (patch) | |
tree | 2e7359e8cd77105d719b568184accf3965fface0 /lib/libc/stdio/sprintf.c | |
parent | ansification; checked by pval (diff) | |
download | wireguard-openbsd-1929d8d4f7801e9491a7ef9d8cfd2983cea84a30.tar.xz wireguard-openbsd-1929d8d4f7801e9491a7ef9d8cfd2983cea84a30.zip |
oops
Diffstat (limited to 'lib/libc/stdio/sprintf.c')
-rw-r--r-- | lib/libc/stdio/sprintf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/stdio/sprintf.c b/lib/libc/stdio/sprintf.c index ebeda39755a..ba8cc70fe04 100644 --- a/lib/libc/stdio/sprintf.c +++ b/lib/libc/stdio/sprintf.c @@ -31,7 +31,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: sprintf.c,v 1.7 2003/06/11 21:03:10 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: sprintf.c,v 1.8 2003/06/11 21:05:09 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> @@ -39,8 +39,6 @@ static char rcsid[] = "$OpenBSD: sprintf.c,v 1.7 2003/06/11 21:03:10 deraadt Exp #include <limits.h> #include "local.h" -__warn_references(sprintf, "warning: sprintf() is often misused, please use snprintf()"); - int sprintf(char *str, char const *fmt, ...) { |