summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2002-12-26 06:41:37 +0000
committersimokawa <simokawa@FreeBSD.org>2002-12-26 06:41:37 +0000
commite90de498fd6b8984d0f2531d0ff1ac8f79669336 (patch)
tree4d151aa7d56debc4c96ad979c963c0a9a198cb75 /sys
parentb694af1793e56a35de78e0c5e44908ebc910b73a (diff)
downloadFreeBSD-src-e90de498fd6b8984d0f2531d0ff1ac8f79669336.zip
FreeBSD-src-e90de498fd6b8984d0f2531d0ff1ac8f79669336.tar.gz
Replace ntohl() with ntohs() because orb_hi is u_int16_t.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/firewire/sbp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c
index 4dacad1..08cd52f 100644
--- a/sys/dev/firewire/sbp.c
+++ b/sys/dev/firewire/sbp.c
@@ -1332,7 +1332,7 @@ SBP_DEBUG(0)
" len:%x stat:%x orb:%x%08x\n",
sbp_status->src, sbp_status->resp, sbp_status->dead,
sbp_status->len, sbp_status->status,
- ntohl(sbp_status->orb_hi), ntohl(sbp_status->orb_lo));
+ ntohs(sbp_status->orb_hi), ntohl(sbp_status->orb_lo));
sbp_show_sdev_info(sdev, 2);
status = sbp_status->status;
switch(sbp_status->resp) {
OpenPOWER on IntegriCloud