diff options
author | 2020-01-27 13:11:01 +0000 | |
---|---|---|
committer | 2020-01-27 13:11:01 +0000 | |
commit | 4b97d3420fdaa0787f189c2019d3f28f7c5523d8 (patch) | |
tree | 597086f95aa8e79252d2d8bdcce3f7593a05c047 | |
parent | Send APM_POWER_CHANGE events to userland after refreshing battery info (diff) | |
download | wireguard-openbsd-4b97d3420fdaa0787f189c2019d3f28f7c5523d8.tar.xz wireguard-openbsd-4b97d3420fdaa0787f189c2019d3f28f7c5523d8.zip |
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); |