summaryrefslogtreecommitdiff
path: root/src/stdio/puts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/puts.c')
-rw-r--r--src/stdio/puts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdio/puts.c b/src/stdio/puts.c
index 3392228e..ad9eaa84 100644
--- a/src/stdio/puts.c
+++ b/src/stdio/puts.c
@@ -8,6 +8,7 @@ int puts(const char *s)
int ret = 1;
SIGNAL_SAFE(0);
+ ASSERT_STREAM(stdout, ORIENT_BYTE, OP_OUTPUT);
flockfile(stdout);