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

Next file: linux/fs/sysv/namei.c
Previous file: linux/fs/ntfs/super.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.102/linux/fs/proc/root.c linux/fs/proc/root.c
@@ -684,7 +684,7 @@
 
 	if (prof_shift) {
 		proc_register(&proc_root, &proc_root_profile);
-		proc_root_profile.size = (1+prof_len) * sizeof(unsigned long);
+		proc_root_profile.size = (1+prof_len) * sizeof(unsigned int);
 	}
 
 	proc_tty_init();

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