Skip to content

Commit

Permalink
[PATCH] uml: Clean up prink calls
Browse files Browse the repository at this point in the history
printk() calls should include appropriate KERN_* constant.

Signed-off-by: Christophe Lucas <clucas@rotomalug.org>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Christophe Lucas authored and Linus Torvalds committed Jul 29, 2005
1 parent 201134c commit 30f417c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/um/drivers/mconsole_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ static int create_proc_mconsole(void)

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);
}

Expand Down
2 changes: 1 addition & 1 deletion arch/um/kernel/exitcode.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static int make_proc_exitcode(void)

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);
}
Expand Down
2 changes: 1 addition & 1 deletion arch/um/kernel/process_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ int __init make_proc_sysemu(void)

if (ent == NULL)
{
printk("Failed to register /proc/sysemu\n");
printk(KERN_WARNING "Failed to register /proc/sysemu\n");
return(0);
}

Expand Down

0 comments on commit 30f417c

Please sign in to comment.