summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-03-02 00:15:01 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-03-02 00:15:01 +0000
commitac7774b0144eed120eee55b2a3e16aaf80f8b937 (patch)
tree51270d027eecfd100997d097ed363ade926420f9
parentbeec39652e14e155e48c6cb6512225d406d5f806 (diff)
Several people noted that non-UVM was broken
-rw-r--r--sys/arch/i386/i386/machdep.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index 4aaee78bf0a..c6f67fadb31 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.125 2000/02/22 19:27:48 deraadt Exp $ */
+/* $OpenBSD: machdep.c,v 1.126 2000/03/02 00:15:00 niklas Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -2063,7 +2063,10 @@ init386(first_avail)
printf("physload: ");
#endif
for (i = 0; i < ndumpmem; i++) {
- register int32_t a, e, lim;
+ int32_t a, e;
+#ifdef UVM
+ int32_t lim;
+#endif
a = dumpmem[i].start;
e = dumpmem[i].end;