[PATCH 3/9] Fix a printk call

From: Nadia . Derbey
Date: Wed May 07 2008 - 07:38:46 EST


[PATCH 03/09]

This is a trivial patch that fixes the printk incomplete call.

Signed-off-by: Nadia Derbey <Nadia.Derbey@xxxxxxxx>

---
lib/idr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Index: linux-2.6.25-mm1/lib/idr.c
===================================================================
--- linux-2.6.25-mm1.orig/lib/idr.c 2008-05-06 17:24:15.000000000 +0200
+++ linux-2.6.25-mm1/lib/idr.c 2008-05-06 17:26:41.000000000 +0200
@@ -325,7 +325,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();
}


--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/