Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netsmb Fix cut & paste error spotted by Nicolas Joly.



details:   https://anonhg.NetBSD.org/src/rev/569a9f71b9bd
branches:  trunk
changeset: 748273:569a9f71b9bd
user:      tron <tron%NetBSD.org@localhost>
date:      Sun Oct 18 23:20:31 2009 +0000

description:
Fix cut & paste error spotted by Nicolas Joly.

diffstat:

 sys/netsmb/smb_smb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1b29dfdb65ed -r 569a9f71b9bd sys/netsmb/smb_smb.c
--- a/sys/netsmb/smb_smb.c      Sun Oct 18 22:57:05 2009 +0000
+++ b/sys/netsmb/smb_smb.c      Sun Oct 18 23:20:31 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smb_smb.c,v 1.31 2009/10/18 22:53:36 tron Exp $        */
+/*     $NetBSD: smb_smb.c,v 1.32 2009/10/18 23:20:31 tron Exp $        */
 
 /*
  * Copyright (c) 2000-2001 Boris Popov
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smb_smb.c,v 1.31 2009/10/18 22:53:36 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smb_smb.c,v 1.32 2009/10/18 23:20:31 tron Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -600,7 +600,7 @@
                return (EFBIG);
        }
 
-       if (!(SMB_CAPS(SSTOVC(ssp)) & SMB_CAP_LARGE_WRITEX)) {
+       if (!(SMB_CAPS(SSTOVC(ssp)) & SMB_CAP_LARGE_READX)) {
                size_t blksz;
 
                blksz = SSTOVC(ssp)->vc_txmax - SMB_HDRLEN - 64;



Home | Main Index | Thread Index | Old Index