[PATCH] do_truncate() call fix in tiny-shmem.c
[deliverable/linux.git] / mm / swapfile.c
index 6544565a7c0f6de28879dcee44e6fcb63c2a2659..957fef43fa6081ec62cf3459e3b5db2d865eae57 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/rmap.h>
 #include <linux/security.h>
 #include <linux/backing-dev.h>
+#include <linux/capability.h>
 #include <linux/syscalls.h>
 
 #include <asm/pgtable.h>
@@ -1442,7 +1443,7 @@ asmlinkage long sys_swapon(const char __user * specialfile, int swap_flags)
        else if (!memcmp("SWAPSPACE2",swap_header->magic.magic,10))
                swap_header_version = 2;
        else {
-               printk("Unable to find swap-space signature\n");
+               printk(KERN_ERR "Unable to find swap-space signature\n");
                error = -EINVAL;
                goto bad_swap;
        }
This page took 0.060778 seconds and 5 git commands to generate.