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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stdio/puts.c b/src/stdio/puts.c
index 93b98c3f..93931216 100644
--- a/src/stdio/puts.c
+++ b/src/stdio/puts.c
@@ -17,9 +17,9 @@ int puts(const char *s)
s++;
}
- if (putc_unlocked('\n', stdout) == EOF) {
+ if (putc_unlocked('\n', stdout) == EOF) {
ret = EOF;
- }
+ }
funlockfile(stdout);
@@ -28,7 +28,7 @@ int puts(const char *s)
RETURN_FAILURE(CONSTANT(EOF));
*/
- return ret;
+ return ret;
}
/***