aboutsummaryrefslogtreecommitdiff
path: root/libio/iosetbuffer.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-01 21:05:53 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-01 21:05:53 +0000
commitf0d8cfd73c91a95ac1faa6702e75bfa821d57e05 (patch)
tree3840409fbca618d0d194c99452473893e1f8f0f6 /libio/iosetbuffer.c
parent75d86c1f4c44d395bf3efaefc172a13f09ea4022 (diff)
downloadglibc-f0d8cfd73c91a95ac1faa6702e75bfa821d57e05.tar
glibc-f0d8cfd73c91a95ac1faa6702e75bfa821d57e05.tar.gz
glibc-f0d8cfd73c91a95ac1faa6702e75bfa821d57e05.tar.bz2
glibc-f0d8cfd73c91a95ac1faa6702e75bfa821d57e05.zip
Update.
1999-12-01 Ulrich Drepper <drepper@cygnus.com> * libio/iosetbuffer.c: Use _IO_WSETBUF instead of constructing function call directly. * libio/iosetvbuf.c: Likewise.
Diffstat (limited to 'libio/iosetbuffer.c')
-rw-r--r--libio/iosetbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/iosetbuffer.c b/libio/iosetbuffer.c
index 5acbf5e812..852a2dd36c 100644
--- a/libio/iosetbuffer.c
+++ b/libio/iosetbuffer.c
@@ -40,7 +40,7 @@ _IO_setbuffer (fp, buf, size)
(void) _IO_SETBUF (fp, buf, size);
if (fp->_vtable_offset == 0 && fp->_mode == 0)
/* We also have to set the buffer using the wide char function. */
- (*fp->_wide_data->_wide_vtable->__setbuf) (fp, buf, size);
+ (void) _IO_WSETBUF (fp, buf, size);
_IO_funlockfile (fp);
_IO_cleanup_region_end (0);
}