Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ieee1394 Make this file compiles when FW_DEBUG is de...



details:   https://anonhg.NetBSD.org/src/rev/2faaeaeea2b9
branches:  trunk
changeset: 543608:2faaeaeea2b9
user:      enami <enami%NetBSD.org@localhost>
date:      Fri Feb 28 23:31:41 2003 +0000

description:
Make this file compiles when FW_DEBUG is defined but SBP2_DEBUG isn't defined.

diffstat:

 sys/dev/ieee1394/sbp2.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cf7a5ab60d89 -r 2faaeaeea2b9 sys/dev/ieee1394/sbp2.c
--- a/sys/dev/ieee1394/sbp2.c   Fri Feb 28 23:24:40 2003 +0000
+++ b/sys/dev/ieee1394/sbp2.c   Fri Feb 28 23:31:41 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbp2.c,v 1.13 2003/01/09 19:16:30 thorpej Exp $        */
+/*     $NetBSD: sbp2.c,v 1.14 2003/02/28 23:31:41 enami Exp $  */
 
 /*
  * Copyright (c) 2001,2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbp2.c,v 1.13 2003/01/09 19:16:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbp2.c,v 1.14 2003/02/28 23:31:41 enami Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -704,7 +704,7 @@
        u_int32_t t;
        u_int64_t addr;
        
-#ifdef FW_DEBUG
+#if defined(FW_DEBUG) && defined(SBP2_DEBUG)
        if (sbp2debug > 2)
                fwdebug = 3;
 #endif



Home | Main Index | Thread Index | Old Index