diff options
author | robert <robert@FreeBSD.org> | 2002-12-16 16:20:06 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2002-12-16 16:20:06 +0000 |
commit | efdf333c007d8509b5d43ea434612ec248827a0c (patch) | |
tree | 7523ad0415eff3b2ee2e3f1703fcfc0b0bfbc5ff /sys/netsmb/smb_iod.c | |
parent | 9c13a1ee5f744e6c21ae65cb3ed17e00d241a72f (diff) | |
download | FreeBSD-src-efdf333c007d8509b5d43ea434612ec248827a0c.zip FreeBSD-src-efdf333c007d8509b5d43ea434612ec248827a0c.tar.gz |
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
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 7edbc1b..5ae5f14 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) { |