diff options
-rw-r--r-- | userland/libc/stdio/open_memstream.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/userland/libc/stdio/open_memstream.c b/userland/libc/stdio/open_memstream.c index 0d3df86..c829644 100644 --- a/userland/libc/stdio/open_memstream.c +++ b/userland/libc/stdio/open_memstream.c @@ -84,6 +84,7 @@ FILE *open_memstream(char **bufp, size_t *sizep) { fp->is_eof = 0; fp->has_error = 0; fp->file_size = MEMSTREAM_DEF_SIZE; + fp->fflush = NULL; fp->write = memstream_write; fp->read = memstream_read; |