diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2001-02-11 22:06:43 +0000 | 
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2001-02-11 22:06:43 +0000 | 
| commit | 29ac6bd228d1c75dc4c19105fa149861bff04720 (patch) | |
| tree | 91800b480f9efe4c0d90fe0b653e4bb1125f24f7 /lib/libc/stdio/snprintf.c | |
| parent | 5b62961a494b0271f6029f0c8f1e8c92a2267fe7 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/snprintf.c')
| -rw-r--r-- | lib/libc/stdio/snprintf.c | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/lib/libc/stdio/snprintf.c b/lib/libc/stdio/snprintf.c index bedf98d353e6..fe21129bc13f 100644 --- a/lib/libc/stdio/snprintf.c +++ b/lib/libc/stdio/snprintf.c @@ -50,6 +50,8 @@ static const char rcsid[] =  #include <varargs.h>  #endif +#include "local.h" +  #if __STDC__  int  snprintf(char *str, size_t n, char const *fmt, ...) @@ -81,7 +83,7 @@ snprintf(str, n, fmt, va_alist)  	f._flags = __SWR | __SSTR;  	f._bf._base = f._p = (unsigned char *)str;  	f._bf._size = f._w = n; -	ret = vfprintf(&f, fmt, ap); +	ret = __vfprintf(&f, fmt, ap);  	if (on > 0)  		*f._p = '\0';  	va_end(ap); | 
