aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/vsprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/vsprintf.c')
-rw-r--r--newlib/libc/stdio/vsprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/vsprintf.c b/newlib/libc/stdio/vsprintf.c
index 5c26004..fd052cd 100644
--- a/newlib/libc/stdio/vsprintf.c
+++ b/newlib/libc/stdio/vsprintf.c
@@ -53,7 +53,7 @@ _DEFUN(_vsprintf_r, (ptr, str, fmt, ap),
f._bf._base = f._p = (unsigned char *) str;
f._bf._size = f._w = INT_MAX;
f._file = -1; /* No file. */
- ret = _vfprintf_r (ptr, &f, fmt, ap);
+ ret = _svfprintf_r (ptr, &f, fmt, ap);
*f._p = 0;
return ret;
}