summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2018-02-21 12:45:08 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2018-02-21 12:45:08 +0000
commitf49f984d73e73b99d7388dfffa647c0d2f406d31 (patch)
tree5dd71c608d0d8b414de0f3a4f2befea60ce864fe
parent50cea3d23a10960cbea41b0f72ea2ad9e566176e (diff)
downloadillumos-joyent-f49f984d73e73b99d7388dfffa647c0d2f406d31.tar.gz
9120 bnxe does not load in DEBUG [backout OS-6498]
-rw-r--r--usr/src/uts/common/io/bnxe/bnxe_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/bnxe/bnxe_debug.c b/usr/src/uts/common/io/bnxe/bnxe_debug.c
index e8587a17b3..1411045f2c 100644
--- a/usr/src/uts/common/io/bnxe/bnxe_debug.c
+++ b/usr/src/uts/common/io/bnxe/bnxe_debug.c
@@ -186,7 +186,7 @@ void BnxeLogWarn(void * pDev,
}
-#ifdef DEBUG
+#ifdef DBG
void BnxeLogDbg(void * pDev,
char * pFmt,
@@ -209,7 +209,7 @@ void BnxeLogDbg(void * pDev,
cmn_err(CE_WARN, "!%s: %s", BnxeDevName(pUM), buf);
}
-#endif /* DEBUG */
+#endif /* DBG */
void BnxeDumpMem(um_device_t * pUM,