From f723aa391085d188652b94aedd37f0dd94193fba Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 11 Jun 2003 21:03:09 +0000 Subject: ansification; checked by pval --- lib/libc/stdio/vsprintf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/libc/stdio/vsprintf.c') 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 #include +__warn_references(vsprintf, + "warning: vsprintf() is often misused, please use vsnprintf()"); + int vsprintf(str, fmt, ap) char *str; -- cgit v1.2.3-59-g8ed1b