about summary refs log tree commit diff
path: root/libio/getchar_u.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/getchar_u.c')
-rw-r--r--libio/getchar_u.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/getchar_u.c b/libio/getchar_u.c
index bfbe56b30c..0c8fb81151 100644
--- a/libio/getchar_u.c
+++ b/libio/getchar_u.c
@@ -31,5 +31,5 @@
 int
 getchar_unlocked ()
 {
-  return _IO_getc_unlocked (stdin);
+  return _IO_getc_unlocked (_IO_stdin);
 }