aboutsummaryrefslogtreecommitdiff
path: root/sys/netsmb/smb_smb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netsmb/smb_smb.c')
-rw-r--r--sys/netsmb/smb_smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netsmb/smb_smb.c b/sys/netsmb/smb_smb.c
index 6761e9675b62..efd1fa18ac71 100644
--- a/sys/netsmb/smb_smb.c
+++ b/sys/netsmb/smb_smb.c
@@ -852,7 +852,7 @@ smb_smb_write(struct smb_share *ssp, u_int16_t fid, int *len, int *rresid,
if (*len && SSTOVC(ssp)->vc_sopt.sv_caps & SMB_CAP_LARGE_WRITEX)
return (smb_smb_writex(ssp, fid, len, rresid, uio, scred));
-
+
blksz = SSTOVC(ssp)->vc_txmax - SMB_HDRLEN - 16;
if (blksz > 0xffff)
blksz = 0xffff;