summaryrefslogtreecommitdiff
path: root/src/libc/stdio
diff options
context:
space:
mode:
authordzwdz2023-08-27 02:06:32 +0200
committerdzwdz2023-08-27 02:06:32 +0200
commite43939bcc6123e02314aa403eef94d5ace441f7f (patch)
treeac0cea10e8708ae1a6a7a400257c4bc59175a91f /src/libc/stdio
parent1f938c20b4a82ca1267ab9a1ec0922878a21ca6b (diff)
ports: qbe, cproc :^)
Diffstat (limited to 'src/libc/stdio')
-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) {