diff options
Diffstat (limited to 'libio/getwchar.c')
-rw-r--r-- | libio/getwchar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libio/getwchar.c b/libio/getwchar.c index baac916..b6155fa 100644 --- a/libio/getwchar.c +++ b/libio/getwchar.c @@ -33,8 +33,8 @@ wint_t getwchar (void) { wint_t result; - _IO_acquire_lock (_IO_stdin); - result = _IO_getwc_unlocked (_IO_stdin); - _IO_release_lock (_IO_stdin); + _IO_acquire_lock (stdin); + result = _IO_getwc_unlocked (stdin); + _IO_release_lock (stdin); return result; } |