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

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, &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)