From e43939bcc6123e02314aa403eef94d5ace441f7f Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 27 Aug 2023 02:06:32 +0200 Subject: ports: qbe, cproc :^) --- src/libc/stdio/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libc/stdio/file.c') 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) { -- cgit v1.2.3