patch-2.1.66 linux/fs/smbfs/sock.c

Next file: linux/include/linux/fs.h
Previous file: linux/fs/smbfs/proc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.65/linux/fs/smbfs/sock.c linux/fs/smbfs/sock.c
@@ -420,8 +420,8 @@
 #endif
 		goto out;
 	}
-	server->rcls = *(packet+9);
-	server->err = WVAL(packet, 11);
+	server->rcls = *(packet + smb_rcls);
+	server->err  = WVAL(packet, smb_err);
 
 #ifdef SMBFS_DEBUG_VERBOSE
 if (server->rcls != 0)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov