summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2001-12-06 04:22:57 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2001-12-06 04:22:57 +0000
commit3ebd7fc4c1259a2f2b01d0b1e90fbd95a79b5ba1 (patch)
tree8e60b65435fee9712993f638215d2f0e9991559e /sys/arch
parentb5a42d4245f0489ded894803b745670431226d08 (diff)
unbreak alpha kernel.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/alpha/autoconf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/alpha/alpha/autoconf.c b/sys/arch/alpha/alpha/autoconf.c
index abf0bc3096d..be35739ef87 100644
--- a/sys/arch/alpha/alpha/autoconf.c
+++ b/sys/arch/alpha/alpha/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.15 2001/12/05 23:58:41 tdeval Exp $ */
+/* $OpenBSD: autoconf.c,v 1.16 2001/12/06 04:22:56 ericj Exp $ */
/* $NetBSD: autoconf.c,v 1.16 1996/11/13 21:13:04 cgd Exp $ */
/*
@@ -277,7 +277,7 @@ setroot()
{
struct swdevt *swp;
struct device *dv;
- int len;
+ int len, majdev, unit, part;
dev_t nrootdev, nswapdev = NODEV;
char buf[128], *rootdevname;
dev_t temp;
@@ -397,7 +397,6 @@ gotswap:
swdevt[0].sw_dev = nswapdev;
swdevt[1].sw_dev = NODEV;
} else if (mountroot == NULL) {
- int majdev;
/*
* "swap generic"