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

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, &current->files->close_on_exec);
+			FD_SET(fd, current->files->close_on_exec);
 			break;
 
 		case FIONCLEX:
-			FD_CLR(fd, &current->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)