diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-06-03 05:12:29 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-06-03 05:12:29 +0000 |
| commit | accd7f182e87d2a1d578214211ee7ded32753803 (patch) | |
| tree | 90de65019704d8a469505b67d00c11e813d480e0 /lib/libc/stdio/vsprintf.c | |
| parent | c3287ad65e82f73d993c7537d1fc5a7a16199449 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/vsprintf.c')
| -rw-r--r-- | lib/libc/stdio/vsprintf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/stdio/vsprintf.c b/lib/libc/stdio/vsprintf.c index c6e192ae07c6..cdfb9ebb91f5 100644 --- a/lib/libc/stdio/vsprintf.c +++ b/lib/libc/stdio/vsprintf.c @@ -41,6 +41,7 @@ static char sccsid[] = "@(#)vsprintf.c 8.1 (Berkeley) 6/4/93"; #include <stdio.h> #include <limits.h> +int vsprintf(str, fmt, ap) char *str; const char *fmt; @@ -49,6 +50,7 @@ vsprintf(str, fmt, ap) int ret; FILE f; + f._file = -1; f._flags = __SWR | __SSTR; f._bf._base = f._p = (unsigned char *)str; f._bf._size = f._w = INT_MAX; |
