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