From: Christophe Lucas <[email protected]>
printk() calls should include appropriate KERN_* constant.
Signed-off-by: Christophe Lucas <[email protected]>
Signed-off-by: Domen Puncer <[email protected]>
Signed-off-by: Jeff Dike <[email protected]>
Index: linux-2.6.12/arch/um/drivers/mconsole_kern.c
===================================================================
--- linux-2.6.12.orig/arch/um/drivers/mconsole_kern.c 2005-07-27 16:39:27.000000000 -0400
+++ linux-2.6.12/arch/um/drivers/mconsole_kern.c 2005-07-27 16:39:53.000000000 -0400
@@ -557,7 +557,7 @@
ent = create_proc_entry("mconsole", S_IFREG | 0200, NULL);
if(ent == NULL){
- printk("create_proc_mconsole : create_proc_entry failed\n");
+ printk(KERN_INFO "create_proc_mconsole : create_proc_entry failed\n");
return(0);
}
Index: linux-2.6.12/arch/um/kernel/exitcode.c
===================================================================
--- linux-2.6.12.orig/arch/um/kernel/exitcode.c 2005-07-27 16:39:26.000000000 -0400
+++ linux-2.6.12/arch/um/kernel/exitcode.c 2005-07-27 16:39:53.000000000 -0400
@@ -48,7 +48,7 @@
ent = create_proc_entry("exitcode", 0600, &proc_root);
if(ent == NULL){
- printk("make_proc_exitcode : Failed to register "
+ printk(KERN_WARNING "make_proc_exitcode : Failed to register "
"/proc/exitcode\n");
return(0);
}
Index: linux-2.6.12/arch/um/kernel/process_kern.c
===================================================================
--- linux-2.6.12.orig/arch/um/kernel/process_kern.c 2005-07-27 16:39:29.000000000 -0400
+++ linux-2.6.12/arch/um/kernel/process_kern.c 2005-07-27 16:39:53.000000000 -0400
@@ -412,7 +412,7 @@
if (ent == NULL)
{
- printk("Failed to register /proc/sysemu\n");
+ printk(KERN_WARNING "Failed to register /proc/sysemu\n");
return(0);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|