softirq, warning fix: correct a format to avoid a warning
authorFrederic Weisbecker <fweisbec@gmail.com>
Fri, 3 Oct 2008 09:39:46 +0000 (11:39 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 3 Oct 2008 09:41:41 +0000 (11:41 +0200)
Last -tip gives this warning:

kernel/softirq.c: Dans la fonction «__do_softirq» :
kernel/softirq.c:216: attention : format «%ld» expects type «long int», but argument 2 has type «int»

This patch corrects the format type, and a small mistake in the "softirq" word.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/softirq.c

index 1cf1e2f..be7a829 100644 (file)
@@ -210,7 +210,7 @@ restart:
                        h->action(h);
 
                        if (unlikely(prev_count != preempt_count())) {
-                               printk(KERN_ERR "huh, entered sotfirq %ld %p"
+                               printk(KERN_ERR "huh, entered softirq %d %p"
                                       "with preempt_count %08x,"
                                       " exited with %08x?\n", h - softirq_vec,
                                       h->action, prev_count, preempt_count());