diff options
author | 2017-05-08 20:13:10 +0000 | |
---|---|---|
committer | 2017-05-08 20:13:10 +0000 | |
commit | ee2d84a2a81db68ebe4f3c82b7eaa64746f2671b (patch) | |
tree | b8f7ee458ac7d4b9fcfd5ff94b64a0deccc80d92 | |
parent | 8192C is the only MIMO chip supported by this driver, all others are 1T1R. (diff) | |
download | wireguard-openbsd-ee2d84a2a81db68ebe4f3c82b7eaa64746f2671b.tar.xz wireguard-openbsd-ee2d84a2a81db68ebe4f3c82b7eaa64746f2671b.zip |
Guard debug printf with NETIF_DEBUG ifdef like the other debug prints.
ok tom@
-rw-r--r-- | sys/arch/i386/stand/libsa/pxe_net.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/stand/libsa/pxe_net.c b/sys/arch/i386/stand/libsa/pxe_net.c index f5c8807e2f9..6473ec6ca6e 100644 --- a/sys/arch/i386/stand/libsa/pxe_net.c +++ b/sys/arch/i386/stand/libsa/pxe_net.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pxe_net.c,v 1.5 2014/08/21 14:24:08 mpi Exp $ */ +/* $OpenBSD: pxe_net.c,v 1.6 2017/05/08 20:13:10 patrick Exp $ */ /* $NetBSD: dev_net.c,v 1.4 2003/03/12 13:15:08 drochner Exp $ */ /*- @@ -168,8 +168,10 @@ net_getparams(int sock) bootp(sock); if (myip.s_addr != 0) return 0; +#ifdef NETIF_DEBUG if (debug) printf("net_getparams: BOOTP failed\n"); +#endif return EIO; } |