diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2020-01-27 13:11:02 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2020-01-27 13:11:02 +0000 |
commit | a2f9e150902c28553d936ee6d10da8a0a75d2fb2 (patch) | |
tree | 9dd5e70eddb6cbad99f9373932d3b4ff5a4abe4b | |
parent | 50fb470d70d4c008ea1e356d0e3a5dc5292cd9d4 (diff) |
Rename advminphys function to adv_minphys. The prototype and one usage were
changed in r1.40 but the function itself was missed. Unbreaks i386 build -
no other arch enables adv(4).
-rw-r--r-- | sys/dev/ic/adv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/adv.c b/sys/dev/ic/adv.c index d9b036cffc4..67e0bf2b931 100644 --- a/sys/dev/ic/adv.c +++ b/sys/dev/ic/adv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adv.c,v 1.40 2020/01/26 00:53:31 krw Exp $ */ +/* $OpenBSD: adv.c,v 1.41 2020/01/27 13:11:01 sthen Exp $ */ /* $NetBSD: adv.c,v 1.6 1998/10/28 20:39:45 dante Exp $ */ /* @@ -517,7 +517,7 @@ adv_attach(sc) static void -advminphys(struct buf *bp, struct scsi_link *sl) +adv_minphys(struct buf *bp, struct scsi_link *sl) { if (bp->b_bcount > ((ASC_MAX_SG_LIST - 1) * PAGE_SIZE)) bp->b_bcount = ((ASC_MAX_SG_LIST - 1) * PAGE_SIZE); |