diff options
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index 4a2f0898dda..f715b9b8975 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -582,7 +582,7 @@ static void __init do_initcalls(void) | |||
582 | 582 | ||
583 | result = (*call)(); | 583 | result = (*call)(); |
584 | 584 | ||
585 | if (result && (result != -ENODEV || initcall_debug)) { | 585 | if (result && result != -ENODEV && initcall_debug) { |
586 | sprintf(msgbuf, "error code %d", result); | 586 | sprintf(msgbuf, "error code %d", result); |
587 | msg = msgbuf; | 587 | msg = msgbuf; |
588 | } | 588 | } |