cprintf sanity checks

This commit is contained in:
Olof hagsand 2018-03-10 12:35:11 +01:00
parent 11e2b91a05
commit 0a11445963
3 changed files with 2 additions and 3 deletions

View file

@ -854,7 +854,6 @@ prompt_fmt (char *prompt, size_t plen, char *fmt, ...)
}
/* Start with empty string */
cprintf(cb, "");
while(*s) {
if (*s == '%' && *++s) {
switch(*s) {