summaryrefslogtreecommitdiff
path: root/kern/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/printf.c')
-rw-r--r--kern/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/printf.c b/kern/printf.c
index 22b0987..74bb6c4 100644
--- a/kern/printf.c
+++ b/kern/printf.c
@@ -292,7 +292,7 @@ void _doprnt(
break;
any = FALSE;
- while (i = *p++) {
+ while ((i = *p++)) {
/* NOTE: The '32' here is because ascii space */
if (*p <= 32) {
/*