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/asprintf.c | |
| parent | 5b62961a494b0271f6029f0c8f1e8c92a2267fe7 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/asprintf.c')
| -rw-r--r-- | lib/libc/stdio/asprintf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdio/asprintf.c b/lib/libc/stdio/asprintf.c index e125bfc4bedf..cf4fb3c25e44 100644 --- a/lib/libc/stdio/asprintf.c +++ b/lib/libc/stdio/asprintf.c @@ -40,6 +40,8 @@ static char rcsid[] = "$FreeBSD$"; #include <varargs.h> #endif +#include "local.h" + int #if __STDC__ asprintf(char **str, char const *fmt, ...) @@ -68,7 +70,7 @@ asprintf(str, fmt, va_alist) return (-1); } f._bf._size = f._w = 127; /* Leave room for the NULL */ - ret = vfprintf(&f, fmt, ap); + ret = __vfprintf(&f, fmt, ap); /* Use unlocked __vfprintf */ *f._p = '\0'; va_end(ap); f._bf._base = reallocf(f._bf._base, f._bf._size + 1); |
