summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/refill.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/refill.c')
-rw-r--r--lib/libc/stdio/refill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/refill.c b/lib/libc/stdio/refill.c
index a4f649b..f2a1f16 100644
--- a/lib/libc/stdio/refill.c
+++ b/lib/libc/stdio/refill.c
@@ -106,7 +106,7 @@ __srefill(FILE *fp)
if (HASUB(fp)) {
FREEUB(fp);
if ((fp->_r = fp->_ur) != 0) {
- fp->_p = fp->_extra->_up;
+ fp->_p = fp->_up;
return (0);
}
}
OpenPOWER on IntegriCloud