diff options
author | Robert Drehmel <robert@FreeBSD.org> | 2002-12-16 16:20:06 +0000 |
---|---|---|
committer | Robert Drehmel <robert@FreeBSD.org> | 2002-12-16 16:20:06 +0000 |
commit | 0adb6d7a49db145ae54fbbdfc3daed51d3593e8f (patch) | |
tree | 7523ad0415eff3b2ee2e3f1703fcfc0b0bfbc5ff /sys/netsmb/smb_iod.c | |
parent | 72bb5dc6563a1ba0353efbb351136b5e71e87528 (diff) | |
download | src-0adb6d7a49db145ae54fbbdfc3daed51d3593e8f.tar.gz src-0adb6d7a49db145ae54fbbdfc3daed51d3593e8f.zip |
Remove the hto(be|le)[slq] and (be|le)toh[slq] macros defined in
_KERNEL scope from "src/sys/sys/mchain.h".
Replace each occurrence of the above in _KERNEL scope with the
appropriate macro from the set of hto(be|le)(16|32|64) and
(be|le)toh(16|32|64) from "src/sys/sys/endian.h".
Tested by: tjr
Requested by: comment marked with XXX
Notes
Notes:
svn path=/head/; revision=107940
Diffstat (limited to 'sys/netsmb/smb_iod.c')
-rw-r--r-- | sys/netsmb/smb_iod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netsmb/smb_iod.c b/sys/netsmb/smb_iod.c index 7edbc1b401c3..5ae5f146e62b 100644 --- a/sys/netsmb/smb_iod.c +++ b/sys/netsmb/smb_iod.c @@ -233,8 +233,8 @@ smb_iod_sendrq(struct smbiod *iod, struct smb_rq *rqp) if (vcp->vc_maxmux != 0 && iod->iod_muxcnt >= vcp->vc_maxmux) return 0; #endif - *rqp->sr_rqtid = htoles(ssp ? ssp->ss_tid : SMB_TID_UNKNOWN); - *rqp->sr_rquid = htoles(vcp ? vcp->vc_smbuid : 0); + *rqp->sr_rqtid = htole16(ssp ? ssp->ss_tid : SMB_TID_UNKNOWN); + *rqp->sr_rquid = htole16(vcp ? vcp->vc_smbuid : 0); mb_fixhdr(&rqp->sr_rq); } if (rqp->sr_sendcnt++ > 5) { |