From f4c7ec8de009e09634eb0390f5a19a2efd4a7472 Mon Sep 17 00:00:00 2001 From: Jason Downs Date: Mon, 10 Feb 1997 01:34:09 +0000 Subject: Support 16 partitions. --- sys/arch/hp300/dev/sd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 ecc87b4d639..d848472cfd2 100644 --- a/sys/arch/hp300/dev/sd.c +++ b/sys/arch/hp300/dev/sd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sd.c,v 1.7 1997/02/03 04:47:47 downsj Exp $ */ +/* $OpenBSD: sd.c,v 1.8 1997/02/10 01:33:57 downsj Exp $ */ /* $NetBSD: sd.c,v 1.29 1997/01/30 09:14:20 thorpej Exp $ */ /* @@ -1022,9 +1022,6 @@ sdioctl(dev, cmd, data, flag, p) int error, flags; switch (cmd) { - default: - return (EINVAL); - case DIOCGDINFO: *(struct disklabel *)data = *lp; return (0); @@ -1106,6 +1103,9 @@ sdioctl(dev, cmd, data, flag, p) */ bcopy(&sc->sc_sensestore, data, sizeof(sc->sc_sensestore)); return (0); + + default: + return (EINVAL); } /*NOTREACHED*/ -- cgit v1.2.3