Fix sprintf shell prompt.
This commit is contained in:
parent
036cae3982
commit
5f05f192de
@ -104,7 +104,9 @@ printsf(const char *fmt, ...)
|
|||||||
int chars;
|
int chars;
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
|
if (strcmp(KERNEL_SECRET, "") != 0) {
|
||||||
printf("%s: ", KERNEL_SECRET);
|
printf("%s: ", KERNEL_SECRET);
|
||||||
|
}
|
||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
chars = vprintf(fmt, ap);
|
chars = vprintf(fmt, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user