diff --git a/src/stdio/fmemopen.c b/src/stdio/fmemopen.c index 5afd85cf7a6e8068153b44ad4f187c0ebf48fd62..343e3e3fe2f8805aeeab4f09d370635f10970c57 100644 --- a/src/stdio/fmemopen.c +++ b/src/stdio/fmemopen.c @@ -103,7 +103,7 @@ FILE *fmemopen(void *restrict buf, size_t size, const char *restrict mode) f->f.buf = f->buf + UNGET; f->f.buf_size = sizeof f->buf - UNGET; if (!buf) { - buf = f->buf2;; + buf = f->buf2; memset(buf, 0, size); }