git: f600fa25a2f2 - stable/13 - libsa/netif.c: Replace #if with #ifdef

From: Warner Losh <imp_at_FreeBSD.org>
Date: Tue, 24 Jan 2023 22:12:48 UTC
The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=f600fa25a2f2b1aac36f2ac528ebbd4df5870d9f

commit f600fa25a2f2b1aac36f2ac528ebbd4df5870d9f
Author:     MichaƂ Grzelak <mig@semihalf.com>
AuthorDate: 2022-09-28 10:31:25 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-01-24 21:49:35 +0000

    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
    
    (cherry picked from commit 7b54d275ef6f74fe6030c85445bd3770d537d408)
---
 stand/libsa/netif.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);