diff --git a/lib/idr.c b/lib/idr.c index 8170ace154fbd189a2e6f0502f537ece8161d681..9d905b131ecba8311ade4ee2598e1d95e9e57c82 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(); }