diff options
author | 2011-06-19 21:20:04 +0000 | |
---|---|---|
committer | 2011-06-19 21:20:04 +0000 | |
commit | 275be23c808b4385689e7092c8495a66686930b7 (patch) | |
tree | ea33ad00551ee21b49e74c9fd2a27f0b6d06d8ed | |
parent | fix up unbalanced format strings (diff) | |
download | wireguard-openbsd-275be23c808b4385689e7092c8495a66686930b7.tar.xz wireguard-openbsd-275be23c808b4385689e7092c8495a66686930b7.zip |
Unbreak
-rw-r--r-- | sys/arch/hp300/dev/hd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hp300/dev/hd.c b/sys/arch/hp300/dev/hd.c index b15bf3ddcf5..3f9d01610a0 100644 --- a/sys/arch/hp300/dev/hd.c +++ b/sys/arch/hp300/dev/hd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hd.c,v 1.67 2011/06/19 04:55:34 deraadt Exp $ */ +/* $OpenBSD: hd.c,v 1.68 2011/06/19 21:20:04 miod Exp $ */ /* $NetBSD: rd.c,v 1.33 1997/07/10 18:14:08 kleink Exp $ */ /* @@ -1162,7 +1162,7 @@ hdioctl(dev, cmd, data, flag, p) goto exit; } - if ((error = hdlock(sc)) != 0) + if ((error = disk_lock(&sc->sc_dkdev)) != 0) goto exit; error = setdisklabel(sc->sc_dkdev.dk_label, @@ -1173,7 +1173,7 @@ hdioctl(dev, cmd, data, flag, p) hdstrategy, sc->sc_dkdev.dk_label); } - hdunlock(sc); + disk_unlock(&sc->sc_dkdev); goto exit; default: |