summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp_freebsd.c
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2011-02-28 15:58:30 +0000
committermjacob <mjacob@FreeBSD.org>2011-02-28 15:58:30 +0000
commit45caeec249c564cc0b81c13ced7f6a677a9216e9 (patch)
tree293c009112d37696bbf2bd622af88ca94e5a1d05 /sys/dev/isp/isp_freebsd.c
parentacdeb0f1a28809193a08471826f9f4006884d40a (diff)
downloadFreeBSD-src-45caeec249c564cc0b81c13ced7f6a677a9216e9.zip
FreeBSD-src-45caeec249c564cc0b81c13ced7f6a677a9216e9.tar.gz
Sync FreeBSD ISP with mercurial tree. Minor changes having to do with
a macro for minima.
Diffstat (limited to 'sys/dev/isp/isp_freebsd.c')
-rw-r--r--sys/dev/isp/isp_freebsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c
index 6234fc3..4a664bf 100644
--- a/sys/dev/isp/isp_freebsd.c
+++ b/sys/dev/isp/isp_freebsd.c
@@ -1865,7 +1865,7 @@ isp_handle_platform_atio(ispsoftc_t *isp, at_entry_t *aep)
}
if (status & QLTM_SVALID) {
- size_t amt = imin(QLTM_SENSELEN, sizeof (atiop->sense_data));
+ size_t amt = ISP_MIN(QLTM_SENSELEN, sizeof (atiop->sense_data));
atiop->sense_len = amt;
ISP_MEMCPY(&atiop->sense_data, aep->at_sense, amt);
} else {
OpenPOWER on IntegriCloud