diff options
author | Nadia Derbey <Nadia.Derbey@bull.net> | 2008-07-25 04:47:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 13:53:41 -0400 |
commit | f098ad655f4dd8e3da98ffbeda9cedcc4459c01a (patch) | |
tree | c94831a25240a3257b77cdb93ec1469e3d4faf85 /lib | |
parent | 4ae537892ab9858f71c78701f4651ad1ca531a1b (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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/idr.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -326,7 +326,8 @@ EXPORT_SYMBOL(idr_get_new); | |||
326 | 326 | ||
327 | static void idr_remove_warning(int id) | 327 | static 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 | ||