about summary refs log tree commit diff
path: root/src/stdio/putchar_unlocked.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/putchar_unlocked.c')
-rw-r--r--src/stdio/putchar_unlocked.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stdio/putchar_unlocked.c b/src/stdio/putchar_unlocked.c
index 72d47d15..8b5d0603 100644
--- a/src/stdio/putchar_unlocked.c
+++ b/src/stdio/putchar_unlocked.c
@@ -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);
 }