patch-2.3.12 linux/fs/ioctl.c
Next file: linux/fs/minix/file.c
Previous file: linux/fs/iobuf.c
Back to the patch index
Back to the overall index
-  Lines: 14
-  Date:
Mon Jul 26 22:41:09 1999
-  Orig file: 
v2.3.11/linux/fs/ioctl.c
-  Orig date: 
Thu Jul  8 15:42:21 1999
diff -u --recursive --new-file v2.3.11/linux/fs/ioctl.c linux/fs/ioctl.c
@@ -61,11 +61,11 @@
 	lock_kernel();
 	switch (cmd) {
 		case FIOCLEX:
-			FD_SET(fd, ¤t->files->close_on_exec);
+			FD_SET(fd, current->files->close_on_exec);
 			break;
 
 		case FIONCLEX:
-			FD_CLR(fd, ¤t->files->close_on_exec);
+			FD_CLR(fd, current->files->close_on_exec);
 			break;
 
 		case FIONBIO:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)