summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorericj <ericj@openbsd.org>2001-12-06 04:22:56 +0000
committerericj <ericj@openbsd.org>2001-12-06 04:22:56 +0000
commitf8dbe46bddcee1458bf8ddb12d7d630b58cb7244 (patch)
treec387f0b2567839e8020ceb1707d5d1c2009136a5
parentalloca cannot check if the allocation is valid. mention the consequences; millert ok (diff)
downloadwireguard-openbsd-f8dbe46bddcee1458bf8ddb12d7d630b58cb7244.tar.xz
wireguard-openbsd-f8dbe46bddcee1458bf8ddb12d7d630b58cb7244.zip
unbreak alpha kernel.
-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"