Replace ntohl() with ntohs() because orb_hi is u_int16_t.

This commit is contained in:
Hidetoshi Shimokawa 2002-12-26 06:41:37 +00:00
parent 7701e15b6b
commit f3abec2274

View File

@ -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) {