diff options
| author | Warner Losh <imp@FreeBSD.org> | 2001-02-16 06:11:22 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2001-02-16 06:11:22 +0000 |
| commit | 91e1be28dc5fb82ea96453186c70cb58d9650d50 (patch) | |
| tree | 83784bc9158c22e271d3103b3697cc02d2719c15 /lib/libc/stdio/ungetc.c | |
| parent | 328c0bbcf7a9e303ed0ba1056ccc28a3c5747cee (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 872abadc6817..f70fb425bb17 100644 --- a/lib/libc/stdio/ungetc.c +++ b/lib/libc/stdio/ungetc.c @@ -164,7 +164,7 @@ __ungetc(int c, FILE *fp) * Initially, we will use the `reserve' buffer. */ fp->_ur = fp->_r; - fp->_up = fp->_p; + fp->_extra->_up = fp->_p; fp->_ub._base = fp->_ubuf; fp->_ub._size = sizeof(fp->_ubuf); fp->_ubuf[sizeof(fp->_ubuf) - 1] = c; |
