summaryrefslogtreecommitdiff
path: root/src/libc/stdio/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libc/stdio/file.c')
-rw-r--r--src/libc/stdio/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libc/stdio/file.c b/src/libc/stdio/file.c
index de88a9f..30a578e 100644
--- a/src/libc/stdio/file.c
+++ b/src/libc/stdio/file.c
@@ -248,7 +248,7 @@ size_t fwrite(const void *restrict ptr, size_t size, size_t nitems, FILE *restri
}
int fputs(const char *s, FILE *f) {
- return fprintf(f, "%s\n", s);
+ return fprintf(f, "%s", s);
}
char *fgets(char *buf, int size, FILE *f) {