git: 7b54d275ef6f - main - libsa/netif.c: Replace #if with #ifdef
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Sep 2022 11:00:32 UTC
The branch main has been updated by kd: URL: https://cgit.FreeBSD.org/src/commit/?id=7b54d275ef6f74fe6030c85445bd3770d537d408 commit 7b54d275ef6f74fe6030c85445bd3770d537d408 Author: Michał Grzelak <mig@semihalf.com> AuthorDate: 2022-09-28 10:31:25 +0000 Commit: Kornel Dulęba <kd@FreeBSD.org> CommitDate: 2022-09-29 10:52:02 +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 --- 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);