summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfprintf.c
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-08-13 09:30:41 +0000
committertjr <tjr@FreeBSD.org>2002-08-13 09:30:41 +0000
commit294097ed71af31961af5ded01883a93b24152d52 (patch)
treeb19b15290ce2e0d3c58bac59a2bcb0295e1af757 /lib/libc/stdio/vfprintf.c
parent7c34d7b587ec98f831771925fdf5ef8569a2139a (diff)
downloadFreeBSD-src-294097ed71af31961af5ded01883a93b24152d52.zip
FreeBSD-src-294097ed71af31961af5ded01883a93b24152d52.tar.gz
Basic support for wide character I/O: getwc(), fgetwc(), getwchar(),
putwc(), fputwc(), putwchar(), ungetwc(), fwide().
Diffstat (limited to 'lib/libc/stdio/vfprintf.c')
-rw-r--r--lib/libc/stdio/vfprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index 55fc82c..b158bc0 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -151,6 +151,7 @@ __sbprintf(FILE *fp, const char *fmt, va_list ap)
fake._file = fp->_file;
fake._cookie = fp->_cookie;
fake._write = fp->_write;
+ fake._extra = fp->_extra;
/* set up the buffer */
fake._bf._base = fake._p = buf;
OpenPOWER on IntegriCloud