patch-2.2.12 linux/fs/ioctl.c
Next file: linux/fs/nls/Config.in
Previous file: linux/fs/file.c
Back to the patch index
Back to the overall index
-  Lines: 14
 -  Date:
Wed Aug 25 17:29:49 1999
 -  Orig file: 
v2.2.11/linux/fs/ioctl.c
 -  Orig date: 
Mon Aug  9 16:05:57 1999
 
diff -u --recursive --new-file v2.2.11/linux/fs/ioctl.c linux/fs/ioctl.c
@@ -54,11 +54,11 @@
 	error = 0;
 	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)