patch-2.1.25 linux/fs/proc/root.c

Next file: linux/fs/smbfs/sock.c
Previous file: linux/fs/proc/procfs_syms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.24/linux/fs/proc/root.c linux/fs/proc/root.c
@@ -511,7 +511,7 @@
 	S_IFREG | S_IRUGO, 1, 0, 0,
 };
 static struct proc_dir_entry proc_root_swaps = {
-	PROC_MTAB, 5, "swaps",
+	PROC_SWAP, 5, "swaps",
 	S_IFREG | S_IRUGO, 1, 0, 0,
 };
 static struct proc_dir_entry proc_root_profile = {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov