summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libc.c b/src/libc.c
index 7f7b42b..70cb351 100644
--- a/src/libc.c
+++ b/src/libc.c
@@ -92,7 +92,7 @@ tkill(int tid, int sig)
// __real_malloc in the same file as __wrap_malloc; if you do, the assembler may resolve
// the call before the linker has a chance to wrap it to malloc.
-size_t __real_IO_file_xsputn(FILE *f, const void *buf, size_t n) {}
+size_t __real_IO_file_xsputn(FILE *f, const void *buf, size_t n) { return 0; }
#include "libc-ctype.h"