[libc] Consume the %s format character in vsprintf
Previously we were outputing a single 's' after the string.
This commit is contained in:
parent
f8f8c854eb
commit
db5c9ab859
|
@ -111,6 +111,7 @@ int vsprintf(char *str, const char *format, va_list arg) {
|
|||
*(str++) = *(instr++);
|
||||
width++;
|
||||
}
|
||||
format++;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue