projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove hand-written crt1.s and Scrt1.s files for all archs
[musl]
/
src
/
conf
/
confstr.c
diff --git
a/src/conf/confstr.c
b/src/conf/confstr.c
index
4332f72
..
6e9c23a
100644
(file)
--- a/
src/conf/confstr.c
+++ b/
src/conf/confstr.c
@@
-13,5
+13,5
@@
size_t confstr(int name, char *buf, size_t len)
}
// snprintf is overkill but avoid wasting code size to implement
// this completely useless function and its truncation semantics
- return snprintf(buf, len, "%s", s);
+ return snprintf(buf, len, "%s", s)
+ 1
;
}