diff options
author | 1998-10-03 21:18:54 +0000 | |
---|---|---|
committer | 1998-10-03 21:18:54 +0000 | |
commit | e9e400f515c2646d429f8150a2e5e861c383a42c (patch) | |
tree | 2173bcdac4f6410edbc69fd2ebc9f4fe905e4301 /sys/dev/isa/mcd.c | |
parent | add missing powerpc man dirs (diff) | |
download | wireguard-openbsd-e9e400f515c2646d429f8150a2e5e861c383a42c.tar.xz wireguard-openbsd-e9e400f515c2646d429f8150a2e5e861c383a42c.zip |
Add a "spoofonly" argument to readdisklabel() which will be used to
implement an ioctl to get a spoofed label even for disks that have
a label on them.
Diffstat (limited to 'sys/dev/isa/mcd.c')
-rw-r--r-- | sys/dev/isa/mcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/mcd.c b/sys/dev/isa/mcd.c index 602aee9a684..b88a7deb020 100644 --- a/sys/dev/isa/mcd.c +++ b/sys/dev/isa/mcd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mcd.c,v 1.24 1998/04/26 21:02:49 provos Exp $ */ +/* $OpenBSD: mcd.c,v 1.25 1998/10/03 21:19:00 millert Exp $ */ /* $NetBSD: mcd.c,v 1.60 1998/01/14 12:14:41 drochner Exp $ */ /* @@ -747,7 +747,7 @@ mcdgetdefaultlabel(dev, sc, lp) * Call the generic disklabel extraction routine */ errstring = readdisklabel(MCDLABELDEV(dev), mcdstrategy, lp, - sc->sc_dk.dk_cpulabel); + sc->sc_dk.dk_cpulabel, 0); if (errstring) { /*printf("%s: %s\n", sc->sc_dev.dv_xname, errstring);*/ return; |