diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2008-04-17 22:17:54 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2008-04-17 22:17:54 +0000 |
| commit | 1e98f88776fc606df245a382685b1ac634a81389 (patch) | |
| tree | b259dd878c8cb0ee9fb15608aebb9453ad10e7b1 /lib/libc/stdio/ungetc.c | |
| parent | aba7c5b84b764f7dcb96c651735aa1bb10348d34 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/ungetc.c')
| -rw-r--r-- | lib/libc/stdio/ungetc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/ungetc.c b/lib/libc/stdio/ungetc.c index ef2c68b93583..1353b7ecd7a3 100644 --- a/lib/libc/stdio/ungetc.c +++ b/lib/libc/stdio/ungetc.c @@ -158,7 +158,7 @@ __ungetc(int c, FILE *fp) * Initially, we will use the `reserve' buffer. */ fp->_ur = fp->_r; - fp->_extra->_up = fp->_p; + fp->_up = fp->_p; fp->_ub._base = fp->_ubuf; fp->_ub._size = sizeof(fp->_ubuf); fp->_ubuf[sizeof(fp->_ubuf) - 1] = c; |
