Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/isa use __USE for debug variable



details:   https://anonhg.NetBSD.org/src/rev/0278e24ecb67
branches:  trunk
changeset: 791087:0278e24ecb67
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Nov 04 16:53:52 2013 +0000

description:
use __USE for debug variable

diffstat:

 sys/dev/isa/uha_isa.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 0483d40baa04 -r 0278e24ecb67 sys/dev/isa/uha_isa.c
--- a/sys/dev/isa/uha_isa.c     Mon Nov 04 16:53:35 2013 +0000
+++ b/sys/dev/isa/uha_isa.c     Mon Nov 04 16:53:52 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uha_isa.c,v 1.39 2012/10/27 17:18:25 chs Exp $ */
+/*     $NetBSD: uha_isa.c,v 1.40 2013/11/04 16:53:52 christos Exp $    */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uha_isa.c,v 1.39 2012/10/27 17:18:25 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uha_isa.c,v 1.40 2013/11/04 16:53:52 christos Exp $");
 
 #include "opt_ddb.h"
 
@@ -363,6 +363,8 @@
 
 #ifdef UHADEBUG
                printf("status = 0x%x ", uhastat);
+#else
+               __USE(uhastat);
 #endif /*UHADEBUG*/
 
                /*



Home | Main Index | Thread Index | Old Index