Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/uvm Pull up rev. 1.9:



details:   https://anonhg.NetBSD.org/src/rev/87034b1846df
branches:  netbsd-1-5
changeset: 488912:87034b1846df
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Aug 06 17:09:58 2000 +0000

description:
Pull up rev. 1.9:
Do something sane with a DIAGNOSTIC condition in an non-DIAGNOSTIC
kernel.

diffstat:

 sys/uvm/uvm_anon.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 935b903875e7 -r 87034b1846df sys/uvm/uvm_anon.c
--- a/sys/uvm/uvm_anon.c        Sun Aug 06 17:08:58 2000 +0000
+++ b/sys/uvm/uvm_anon.c        Sun Aug 06 17:09:58 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_anon.c,v 1.5.4.1 2000/08/06 17:08:58 thorpej Exp $ */
+/*     $NetBSD: uvm_anon.c,v 1.5.4.2 2000/08/06 17:09:58 thorpej Exp $ */
 
 /*
  *
@@ -506,9 +506,11 @@
 
                return FALSE;
 
+       default:
 #ifdef DIAGNOSTIC
-       default:
                panic("anon_pagein: uvmfault_anonget -> %d", rv);
+#else
+               return FALSE;
 #endif
        }
 



Home | Main Index | Thread Index | Old Index