patch-1.3.95 linux/drivers/char/misc.c

Next file: linux/drivers/char/n_tty.c
Previous file: linux/drivers/char/istallion.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.94/linux/drivers/char/misc.c linux/drivers/char/misc.c
@@ -188,7 +188,7 @@
 #ifdef CONFIG_PROC_FS
 	proc_register_dynamic(&proc_root, &(struct proc_dir_entry) {
 		0, 4, "misc",
-		S_IRUGO, 1, 0, 0,
+		S_IFREG | S_IRUGO, 1, 0, 0,
 		0, NULL /* ops -- default to array */,
 		&proc_misc_read /* get_info */,
 	});	

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this