diff options
author | 2003-06-11 21:03:09 +0000 | |
---|---|---|
committer | 2003-06-11 21:03:09 +0000 | |
commit | f723aa391085d188652b94aedd37f0dd94193fba (patch) | |
tree | e126833f2d9fa0dab58a426c7c390de874c0b447 /lib/libc/stdio/vsprintf.c | |
parent | support for NAT-T (draft-ietf-ipsec-udp-encaps-06.txt); ok deraadt@ (diff) | |
download | wireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.tar.xz wireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.zip |
ansification; checked by pval
Diffstat (limited to 'lib/libc/stdio/vsprintf.c')
-rw-r--r-- | lib/libc/stdio/vsprintf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/stdio/vsprintf.c b/lib/libc/stdio/vsprintf.c index 563b4082376..e3c099d0fb4 100644 --- a/lib/libc/stdio/vsprintf.c +++ b/lib/libc/stdio/vsprintf.c @@ -31,12 +31,15 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: vsprintf.c,v 1.5 2003/06/02 20:18:37 millert Exp $"; +static char rcsid[] = "$OpenBSD: vsprintf.c,v 1.6 2003/06/11 21:03:10 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> #include <limits.h> +__warn_references(vsprintf, + "warning: vsprintf() is often misused, please use vsnprintf()"); + int vsprintf(str, fmt, ap) char *str; |