summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2020-04-17 16:11:43 -0400
committerRich Felker <dalias@aerifal.cx>2020-04-17 16:11:43 -0400
commit2acf3bce0130fc58f79110f600825e268ca5a608 (patch)
treef0a358d1d7c561ad07d85eec39f7b9bf33651759
parent74fa4aac12d0d5a04ed411f2b3240f235a4475a1 (diff)
downloadmusl-2acf3bce0130fc58f79110f600825e268ca5a608.tar.gz
remove spurious repeated semicolon in fmemopen
-rw-r--r--src/stdio/fmemopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/fmemopen.c b/src/stdio/fmemopen.c
index 5afd85cf..343e3e3f 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);
}