diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2010-10-12 13:13:20 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2010-10-12 13:13:20 +0000 |
| commit | e4f7beda4d767093c0990e58a28aab00fe7d730e (patch) | |
| tree | 0660f1c54f661a27166ec5cec9fca514f63baa6f /lib/libc/stdio/xprintf.c | |
| parent | 79bd5dc1de54f1dff7bb11e0e696346806987458 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/xprintf.c')
| -rw-r--r-- | lib/libc/stdio/xprintf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/xprintf.c b/lib/libc/stdio/xprintf.c index bb41a9c05ddf..0cc8571550bf 100644 --- a/lib/libc/stdio/xprintf.c +++ b/lib/libc/stdio/xprintf.c @@ -48,6 +48,7 @@ #include <wchar.h> #include "un-namespace.h" +#include "local.h" #include "printf.h" #include "fvwrite.h" @@ -575,7 +576,7 @@ static int __v3printf(FILE *fp, const char *fmt, int pct, va_list ap) { int ret; - FILE fake; + FILE fake = FAKE_FILE; unsigned char buf[BUFSIZ]; /* copy the important variables */ |
