diff options
author | Jesper Juhl <juhl-lkml@dif.dk> | 2006-01-10 19:50:28 -0500 |
---|---|---|
committer | Adrian Bunk <bunk@r063144.stusta.swh.mhn.de> | 2006-01-10 19:50:28 -0500 |
commit | e97a31117c0f96be6637f68b4029609bb1f2cc7c (patch) | |
tree | 6754f5be8904bf1e034c7c24fe992304a017c75a | |
parent | ffd59daceb7db5f7c54f095c5529cec45222c1f1 (diff) |
add missing printk loglevel in mm/swapfile.c
in mm/swapfile.c a printk() is missing a loglevel. I believe the proper
loglevel for this situation is KERN_ERR, so that's what the patch below
sets -if you agree, please apply.
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
-rw-r--r-- | mm/swapfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/swapfile.c b/mm/swapfile.c index 6544565a7c0f..d8a5afc8b2a3 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c | |||
@@ -1442,7 +1442,7 @@ asmlinkage long sys_swapon(const char __user * specialfile, int swap_flags) | |||
1442 | else if (!memcmp("SWAPSPACE2",swap_header->magic.magic,10)) | 1442 | else if (!memcmp("SWAPSPACE2",swap_header->magic.magic,10)) |
1443 | swap_header_version = 2; | 1443 | swap_header_version = 2; |
1444 | else { | 1444 | else { |
1445 | printk("Unable to find swap-space signature\n"); | 1445 | printk(KERN_ERR "Unable to find swap-space signature\n"); |
1446 | error = -EINVAL; | 1446 | error = -EINVAL; |
1447 | goto bad_swap; | 1447 | goto bad_swap; |
1448 | } | 1448 | } |