Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Fix a compile error if no RTW_DEBUG.



details:   https://anonhg.NetBSD.org/src/rev/6879acee25d5
branches:  trunk
changeset: 572230:6879acee25d5
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Sun Dec 26 22:37:57 2004 +0000

description:
Fix a compile error if no RTW_DEBUG.

diffstat:

 sys/dev/ic/rtwvar.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 67876e23daaf -r 6879acee25d5 sys/dev/ic/rtwvar.h
--- a/sys/dev/ic/rtwvar.h       Sun Dec 26 22:02:10 2004 +0000
+++ b/sys/dev/ic/rtwvar.h       Sun Dec 26 22:37:57 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtwvar.h,v 1.9 2004/12/25 07:45:53 dyoung Exp $ */
+/* $NetBSD: rtwvar.h,v 1.10 2004/12/26 22:37:57 mycroft Exp $ */
 /*-
  * Copyright (c) 2004, 2005 David Young.  All rights reserved.
  *
@@ -67,8 +67,8 @@
        if (((__sc)->sc_ic.ic_if.if_flags & IFF_DEBUG) != 0)    \
                RTW_DPRINTF(__flags, __x)
 #else /* RTW_DEBUG */
-#define RTW_DPRINTF(__x)
-#define        DPRINTF(__sc, __x)
+#define RTW_DPRINTF(__flags, __x)
+#define        DPRINTF(__sc, __flags, __x)
 #endif /* RTW_DEBUG */
 
 #if 0



Home | Main Index | Thread Index | Old Index