diff options
Diffstat (limited to 'userland/libc/stdio/fputc.c')
-rw-r--r-- | userland/libc/stdio/fputc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/userland/libc/stdio/fputc.c b/userland/libc/stdio/fputc.c index 7c8fa7c..c41ffa4 100644 --- a/userland/libc/stdio/fputc.c +++ b/userland/libc/stdio/fputc.c @@ -1,7 +1,8 @@ #include <stdio.h> int fputc(int c, FILE *stream) { - if (fwrite(&c, 1, 1, stream) > 0) + if (fwrite(&c, 1, 1, stream) > 0) { return c; + } return EOF; } |