diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2006-11-11 01:12:24 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:26:55 +0200 |
commit | 571472f6ac1e63fda8ef49e44b83334ad5431aff (patch) | |
tree | 7459015d016840c8f85a39a987907f6b1f11c0fe /kern/printf.c | |
parent | 3d98b08858cb57bae632b4800c3e0fcff3f04fa9 (diff) |
2006-11-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
Fix ``assignment used as truth value'' warnings.
* device/cons.c (cninit): Add parenthesis.
* kern/bootstrap.c (copy_bootstrap): Likewise.
* kern/printf.c (_doprnt): Likewise.
* vm/vm_map.c (vm_map_lookup): Likewise.
Diffstat (limited to 'kern/printf.c')
-rw-r--r-- | kern/printf.c | 2 |
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) { /* |