patch-2.3.4 linux/fs/ncpfs/ioctl.c

Next file: linux/fs/open.c
Previous file: linux/fs/isofs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.3/linux/fs/ncpfs/ioctl.c linux/fs/ncpfs/ioctl.c
@@ -89,7 +89,7 @@
 
 		result = ncp_request2(server, request.function, 
 			bouncebuffer, NCP_PACKET_SIZE);
-		if (result)
+		if (result < 0)
 			result = -EIO;
 		else
 			result = server->reply_size;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)