projects/linux·commit f098ad65

idr: fix a printk call

f098ad65 · Nadia Derbey <[email protected]> · 2008-07-25 01:47:59 -07:00

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]>
Commit
f098ad655f4dd8e3da98ffbeda9cedcc4459c01a
Parents
4ae53789

Changes

1 files changed · +2 −1

FileStatusAddDelContent
lib/idr.cmodified+2−1View file

lib/idr.c

View file
diff --git a/lib/idr.c b/lib/idr.c
index 8170ace..9d905b1 100644
--- 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();
}