Commit 30f417c6 authored by Christophe Lucas's avatar Christophe Lucas Committed by Linus Torvalds

[PATCH] uml: Clean up prink calls

printk() calls should include appropriate KERN_* constant.
Signed-off-by: default avatarChristophe Lucas <clucas@rotomalug.org>
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 201134ca
...@@ -557,7 +557,7 @@ static int create_proc_mconsole(void) ...@@ -557,7 +557,7 @@ static int create_proc_mconsole(void)
ent = create_proc_entry("mconsole", S_IFREG | 0200, NULL); ent = create_proc_entry("mconsole", S_IFREG | 0200, NULL);
if(ent == 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); return(0);
} }
......
...@@ -48,7 +48,7 @@ static int make_proc_exitcode(void) ...@@ -48,7 +48,7 @@ static int make_proc_exitcode(void)
ent = create_proc_entry("exitcode", 0600, &proc_root); ent = create_proc_entry("exitcode", 0600, &proc_root);
if(ent == NULL){ if(ent == NULL){
printk("make_proc_exitcode : Failed to register " printk(KERN_WARNING "make_proc_exitcode : Failed to register "
"/proc/exitcode\n"); "/proc/exitcode\n");
return(0); return(0);
} }
......
...@@ -412,7 +412,7 @@ int __init make_proc_sysemu(void) ...@@ -412,7 +412,7 @@ int __init make_proc_sysemu(void)
if (ent == NULL) if (ent == NULL)
{ {
printk("Failed to register /proc/sysemu\n"); printk(KERN_WARNING "Failed to register /proc/sysemu\n");
return(0); return(0);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment