diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-10-03 21:19:02 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-10-03 21:19:02 +0000 |
commit | 2847382ad0f79d42676104f5b99c1b14a78a5b90 (patch) | |
tree | 3e173e06925848427cc197fb15b7a2d7b3e5c12c /sys/arch/wgrisc/dev | |
parent | 17219f15915dee86717b444ef5a7e0c11c2e9bb4 (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.c | 4 |
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); } |