Source-Changes-HG archive

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

[src/nathanw_sa]: src/sys/kern The previous change wasn't correct, use ifdef ...



details:   https://anonhg.NetBSD.org/src/rev/bf0177d17f19
branches:  nathanw_sa
changeset: 504584:bf0177d17f19
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Mon Mar 19 17:45:02 2001 +0000

description:
The previous change wasn't correct, use ifdef DIAGNOSTIC instead.

diffstat:

 sys/kern/kern_subr.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4b20abf3fc6c -r bf0177d17f19 sys/kern/kern_subr.c
--- a/sys/kern/kern_subr.c      Mon Mar 19 15:01:44 2001 +0000
+++ b/sys/kern/kern_subr.c      Mon Mar 19 17:45:02 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_subr.c,v 1.75.2.2 2001/03/19 15:01:44 fvdl Exp $  */
+/*     $NetBSD: kern_subr.c,v 1.75.2.3 2001/03/19 17:45:02 fvdl Exp $  */
 
 /*-
  * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -124,7 +124,7 @@
        u_int cnt;
        int error = 0;
        char *cp = buf;
-#if 0  /* XXX NJWLWP */
+#ifdef DIAGNOSTIC
        struct proc *p = uio->uio_procp;
 #endif
 



Home | Main Index | Thread Index | Old Index