aboutsummaryrefslogtreecommitdiffstats
path: root/stdio-common/sprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/sprintf.c')
-rw-r--r--stdio-common/sprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/sprintf.c b/stdio-common/sprintf.c
index 77423b292f0..447faa4e258 100644
--- a/stdio-common/sprintf.c
+++ b/stdio-common/sprintf.c
@@ -27,7 +27,7 @@ __sprintf (char *s, const char *format, ...)
int done;
va_start (arg, format);
- done = __vsprintf_internal (s, format, arg, 0);
+ done = __vsprintf_internal (s, -1, format, arg, 0);
va_end (arg);
return done;