From 2847382ad0f79d42676104f5b99c1b14a78a5b90 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 3 Oct 1998 21:19:02 +0000 Subject: 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. --- sys/arch/hp300/dev/sd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/hp300/dev/sd.c') diff --git a/sys/arch/hp300/dev/sd.c b/sys/arch/hp300/dev/sd.c index 5632a750324..602605d396b 100644 --- a/sys/arch/hp300/dev/sd.c +++ b/sys/arch/hp300/dev/sd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sd.c,v 1.19 1998/05/07 05:19:33 millert Exp $ */ +/* $OpenBSD: sd.c,v 1.20 1998/10/03 21:18:57 millert Exp $ */ /* $NetBSD: sd.c,v 1.34 1997/07/10 18:14:10 kleink Exp $ */ /* @@ -499,7 +499,7 @@ sdgetinfo(dev) lp->d_magic2 = DISKMAGIC; lp->d_checksum = dkcksum(lp); - errstring = readdisklabel(sdlabdev(dev), sdstrategy, lp, NULL); + errstring = readdisklabel(sdlabdev(dev), sdstrategy, lp, NULL, 0); } if (errstring) { -- cgit v1.2.3