Fix sprintf shell prompt.

This commit is contained in:
Geoffrey Challen 2016-01-08 15:51:06 -05:00
parent 036cae3982
commit 5f05f192de

View File

@ -104,7 +104,9 @@ printsf(const char *fmt, ...)
int chars;
va_list ap;
if (strcmp(KERNEL_SECRET, "") != 0) {
printf("%s: ", KERNEL_SECRET);
}
va_start(ap, fmt);
chars = vprintf(fmt, ap);
va_end(ap);