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>
This commit is contained in:
Jesper Juhl 2006-01-11 01:50:28 +01:00 committed by Adrian Bunk
parent ffd59daceb
commit e97a31117c

View File

@ -1442,7 +1442,7 @@ asmlinkage long sys_swapon(const char __user * specialfile, int swap_flags)
else if (!memcmp("SWAPSPACE2",swap_header->magic.magic,10)) else if (!memcmp("SWAPSPACE2",swap_header->magic.magic,10))
swap_header_version = 2; swap_header_version = 2;
else { else {
printk("Unable to find swap-space signature\n"); printk(KERN_ERR "Unable to find swap-space signature\n");
error = -EINVAL; error = -EINVAL;
goto bad_swap; goto bad_swap;
} }