Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/sparc64/sparc64 pull up 1.84 (approved by thor...
details: https://anonhg.NetBSD.org/src/rev/954c66278b2e
branches: netbsd-1-5
changeset: 488830:954c66278b2e
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Jul 31 02:50:08 2000 +0000
description:
pull up 1.84 (approved by thorpej):
>Don't dump if there's no address space reserved for it.
diffstat:
sys/arch/sparc64/sparc64/machdep.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r f84daae2d629 -r 954c66278b2e sys/arch/sparc64/sparc64/machdep.c
--- a/sys/arch/sparc64/sparc64/machdep.c Mon Jul 31 02:49:19 2000 +0000
+++ b/sys/arch/sparc64/sparc64/machdep.c Mon Jul 31 02:50:08 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.68.2.2 2000/07/18 16:23:28 mrg Exp $ */
+/* $NetBSD: machdep.c,v 1.68.2.3 2000/07/31 02:50:08 mrg Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -901,6 +901,10 @@
*/
if (dumpsize == 0)
cpu_dumpconf();
+ if (!dumpspace) {
+ printf("\nno address space available, dump not possible\n");
+ return;
+ }
if (dumplo <= 0) {
printf("\ndump to dev %u,%u not possible\n", major(dumpdev),
minor(dumpdev));
Home |
Main Index |
Thread Index |
Old Index