projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eef8f87
)
x86: boot/printfc use NULL instead 0
author
Thomas Gleixner
<tglx@linutronix.de>
Mon, 12 May 2008 13:43:35 +0000
(15:43 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sun, 25 May 2008 06:58:25 +0000
(08:58 +0200)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/boot/printf.c
patch
|
blob
|
history
diff --git
a/arch/x86/boot/printf.c
b/arch/x86/boot/printf.c
index
c1d00c0
..
50e47cd
100644
(file)
--- a/
arch/x86/boot/printf.c
+++ b/
arch/x86/boot/printf.c
@@
-56,7
+56,7
@@
static char *number(char *str, long num, int base, int size, int precision,
if (type & LEFT)
type &= ~ZEROPAD;
if (base < 2 || base > 36)
- return
0
;
+ return
NULL
;
c = (type & ZEROPAD) ? '0' : ' ';
sign = 0;
if (type & SIGN) {