diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/snprintf.c | 1 | ||||
-rw-r--r-- | main/spprintf.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/main/snprintf.c b/main/snprintf.c index caaf3b78c0..ff806f78a2 100644 --- a/main/snprintf.c +++ b/main/snprintf.c @@ -897,6 +897,7 @@ static int format_converter(register buffy * odp, const char *fmt, case 's': + case 'v': s = va_arg(ap, char *); if (s != NULL) { s_len = strlen(s); diff --git a/main/spprintf.c b/main/spprintf.c index 67375aee96..96a0234fc0 100644 --- a/main/spprintf.c +++ b/main/spprintf.c @@ -513,6 +513,7 @@ static void xbuf_format_converter(smart_str *xbuf, const char *fmt, va_list ap) case 's': + case 'v': s = va_arg(ap, char *); if (s != NULL) { s_len = strlen(s); |