fix bug in dladdr that prevented resolving addresses in the PLT
[oweals/musl.git] / src / stdio / putchar_unlocked.c
index 72d47d1539463781167fd8c06cee1bbdcb7861a3..8b5d06034162679e604e3e4666ccf2a423050d1a 100644 (file)
@@ -2,6 +2,5 @@
 
 int putchar_unlocked(int c)
 {
-       return stdout->wpos < stdout->wstop ?
-               (*stdout->wpos++ = c) : __overflow(stdout, c);
+       return putc_unlocked(c, stdout);
 }