projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implement flockfile api, rework stdio locking
[musl]
/
src
/
stdio
/
vsnprintf.c
diff --git
a/src/stdio/vsnprintf.c
b/src/stdio/vsnprintf.c
index
bda6b49
..
ff792e1
100644
(file)
--- a/
src/stdio/vsnprintf.c
+++ b/
src/stdio/vsnprintf.c
@@
-17,6
+17,7
@@
int vsnprintf(char *s, size_t n, const char *fmt, va_list ap)
f.write = sn_write;
f.buf_size = 1;
f.buf = buf;
+ f.owner = -1;
if (n > INT_MAX) {
errno = EOVERFLOW;
return -1;