summaryrefslogtreecommitdiff
path: root/sys/arch/wgrisc/dev
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-10-03 21:19:02 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-10-03 21:19:02 +0000
commit2847382ad0f79d42676104f5b99c1b14a78a5b90 (patch)
tree3e173e06925848427cc197fb15b7a2d7b3e5c12c /sys/arch/wgrisc/dev
parent17219f15915dee86717b444ef5a7e0c11c2e9bb4 (diff)
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/arch/wgrisc/dev')
-rw-r--r--sys/arch/wgrisc/dev/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/wgrisc/dev/flash.c b/sys/arch/wgrisc/dev/flash.c
index 1eb45bfb884..44641a401fc 100644
--- a/sys/arch/wgrisc/dev/flash.c
+++ b/sys/arch/wgrisc/dev/flash.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: flash.c,v 1.2 1997/08/24 12:01:13 pefo Exp $ */
+/* $OpenBSD: flash.c,v 1.3 1998/10/03 21:18:59 millert Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -844,7 +844,7 @@ flgetdisklabel(dev, sc)
/*
* Call the generic disklabel extraction routine
*/
- errstring = readdisklabel(FLLABELDEV(dev), flstrategy, lp, &clp);
+ errstring = readdisklabel(FLLABELDEV(dev), flstrategy, lp, &clp, 0);
if (errstring) {
printf("%s: %s\n", sc->sc_dev.dv_xname, errstring);
}