summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/port/stdio/putw.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libc/port/stdio/putw.c')
-rw-r--r--usr/src/lib/libc/port/stdio/putw.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/lib/libc/port/stdio/putw.c b/usr/src/lib/libc/port/stdio/putw.c
index 043125e113..70848e6a06 100644
--- a/usr/src/lib/libc/port/stdio/putw.c
+++ b/usr/src/lib/libc/port/stdio/putw.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
@@ -54,7 +52,7 @@ putw(int w, FILE *stream)
rmutex_t *lk;
FLOCKFILE(lk, stream);
- while (--i >= 0 && PUTC(*s++, stream) != EOF)
+ while (--i >= 0 && putc_unlocked(*s++, stream) != EOF)
;
ret = stream->_flag & _IOERR;
FUNLOCKFILE(lk);