summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/port/stdio/getw.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libc/port/stdio/getw.c')
-rw-r--r--usr/src/lib/libc/port/stdio/getw.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/lib/libc/port/stdio/getw.c b/usr/src/lib/libc/port/stdio/getw.c
index cca7732a00..9c81e8cea9 100644
--- a/usr/src/lib/libc/port/stdio/getw.c
+++ b/usr/src/lib/libc/port/stdio/getw.c
@@ -25,9 +25,7 @@
*/
/* Copyright (c) 1988 AT&T */
-/* All Rights Reserved */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
+/* All Rights Reserved */
/*
* The intent here is to provide a means to make the order of
@@ -57,7 +55,7 @@ getw(FILE *stream)
FLOCKFILE(lk, stream);
while (--i >= 0 && !(stream->_flag & (_IOERR | _IOEOF)))
- *s++ = GETC(stream);
+ *s++ = getc_unlocked(stream);
ret = ((stream->_flag & (_IOERR | _IOEOF)) ? EOF : w);
FUNLOCKFILE(lk);
return (ret);