aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNadia Derbey <Nadia.Derbey@bull.net>2008-07-25 04:47:59 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 13:53:41 -0400
commitf098ad655f4dd8e3da98ffbeda9cedcc4459c01a (patch)
treec94831a25240a3257b77cdb93ec1469e3d4faf85
parent4ae537892ab9858f71c78701f4651ad1ca531a1b (diff)
idr: fix a printk call
Fix the incomplete printk call. Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net> Reviewed-by: "Paul E. McKenney" <paulmck@us.ibm.com> Cc: Manfred Spraul <manfred@colorfullife.com> Cc: Jim Houston <jim.houston@comcast.net> Cc: Pierre Peiffer <peifferp@gmail.com> Acked-by: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--lib/idr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/idr.c b/lib/idr.c
index 8170ace154fb..9d905b131ecb 100644
--- a/lib/idr.c
+++ b/lib/idr.c
@@ -326,7 +326,8 @@ EXPORT_SYMBOL(idr_get_new);
326 326
327static void idr_remove_warning(int id) 327static void idr_remove_warning(int id)
328{ 328{
329 printk("idr_remove called for id=%d which is not allocated.\n", id); 329 printk(KERN_WARNING
330 "idr_remove called for id=%d which is not allocated.\n", id);
330 dump_stack(); 331 dump_stack();
331} 332}
332 333