aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Grzelak <mig@semihalf.com>2022-09-28 10:31:25 +0000
committerKornel Dulęba <kd@FreeBSD.org>2022-09-29 10:52:02 +0000
commit7b54d275ef6f74fe6030c85445bd3770d537d408 (patch)
treee0b76e6e9ec881007a7b3071911047029a81118a
parentc66c6da4f08187deab6a30d4aeb4d6e82088a046 (diff)
downloadsrc-7b54d275ef6f74fe6030c85445bd3770d537d408.tar.gz
src-7b54d275ef6f74fe6030c85445bd3770d537d408.zip
libsa/netif.c: Replace #if with #ifdef
Follow the convention with *_DEBUG macros in stand/libsa/* and replace "#if" with "#ifdef". Reviewed by: kd Obtained from: Semihalf Differential Revision: https://reviews.freebsd.org/D36740
-rw-r--r--stand/libsa/netif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/libsa/netif.c b/stand/libsa/netif.c
index 4e91e11a9413..91d07dcf96a4 100644
--- a/stand/libsa/netif.c
+++ b/stand/libsa/netif.c
@@ -91,7 +91,7 @@ netif_match(struct netif *nif, void *machdep_hint)
{
struct netif_driver *drv = nif->nif_driver;
-#if NETIF_DEBUG
+#ifdef NETIF_DEBUG
if (netif_debug)
printf("%s%d: netif_match (%d)\n", drv->netif_bname,
nif->nif_unit, nif->nif_sel);