patch-pre2.0.3 linux/kernel/sys.c
Next file: linux/kernel/sysctl.c
Previous file: linux/kernel/ksyms.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon May 13 07:36:19 1996
- Orig file:
pre2.0.2/linux/kernel/sys.c
- Orig date:
Sun May 5 08:52:05 1996
diff -u --recursive --new-file pre2.0.2/linux/kernel/sys.c linux/kernel/sys.c
@@ -304,7 +304,7 @@
ac.ac_uid = current->uid;
ac.ac_gid = current->gid;
ac.ac_tty = (current)->tty == NULL ? -1 :
- MKDEV(4, current->tty->device);
+ kdev_t_to_nr(current->tty->device);
ac.ac_flag = 0;
if (current->flags & PF_FORKNOEXEC)
ac.ac_flag |= AFORK;
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