summaryrefslogtreecommitdiffstats
path: root/sys/dev/ixl/if_ixlv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ixl/if_ixlv.c')
-rw-r--r--sys/dev/ixl/if_ixlv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixl/if_ixlv.c b/sys/dev/ixl/if_ixlv.c
index 51d4e95..8c4a901 100644
--- a/sys/dev/ixl/if_ixlv.c
+++ b/sys/dev/ixl/if_ixlv.c
@@ -2832,7 +2832,7 @@ ixlv_add_sysctls(struct ixlv_sc *sc)
{0,0,0}
};
struct ixl_sysctl_info *entry = ctls;
- while (entry->stat != 0)
+ while (entry->stat != NULL)
{
SYSCTL_ADD_QUAD(ctx, child, OID_AUTO, entry->name,
CTLFLAG_RD, entry->stat,
OpenPOWER on IntegriCloud