idr: fix a printk call
authorNadia Derbey <[email protected]>
Fri, 25 Jul 2008 08:47:59 +0000 (01:47 -0700)
committerLinus Torvalds <[email protected]>
Fri, 25 Jul 2008 17:53:41 +0000 (10:53 -0700)
Fix the incomplete printk call.

Signed-off-by: Nadia Derbey <[email protected]>
Reviewed-by: "Paul E. McKenney" <[email protected]>
Cc: Manfred Spraul <[email protected]>
Cc: Jim Houston <[email protected]>
Cc: Pierre Peiffer <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/idr.c

index 8170ace154fbd189a2e6f0502f537ece8161d681..9d905b131ecba8311ade4ee2598e1d95e9e57c82 100644 (file)
--- a/lib/idr.c
+++ b/lib/idr.c
@@ -326,7 +326,8 @@ EXPORT_SYMBOL(idr_get_new);
 
 static void idr_remove_warning(int id)
 {
-       printk("idr_remove called for id=%d which is not allocated.\n", id);
+       printk(KERN_WARNING
+               "idr_remove called for id=%d which is not allocated.\n", id);
        dump_stack();
 }