diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-04-07 15:30:17 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-04-07 15:30:17 +0000 |
commit | 470f59fa3f11b7317fc5907cfef6043f2104bcc6 (patch) | |
tree | 50aedec19587d2927b807e6719da0022055c56df /sys/dev/microcode | |
parent | 1d2ed5cc87538f3c2a6389c586a609a8b73610b7 (diff) |
Do not use NULL in integer comparisons. No functional change.
ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@
Diffstat (limited to 'sys/dev/microcode')
-rw-r--r-- | sys/dev/microcode/adw/adwmcode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/microcode/adw/adwmcode.c b/sys/dev/microcode/adw/adwmcode.c index 41818b8ff59..7045fb46204 100644 --- a/sys/dev/microcode/adw/adwmcode.c +++ b/sys/dev/microcode/adw/adwmcode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adwmcode.c,v 1.4 2010/06/26 23:24:45 guenther Exp $ */ +/* $OpenBSD: adwmcode.c,v 1.5 2011/04/07 15:30:16 miod Exp $ */ /* $NetBSD: adwmcode.c,v 1.5 2000/05/27 18:24:50 dante Exp $ */ /* @@ -77,7 +77,7 @@ AdwInitCarriers(carr_dmap, carriers) ADW_CARRIER *carriers; { ADW_CARRIER *carr; - u_int32_t carr_next = NULL; + u_int32_t carr_next = 0; int i; bzero(carriers, sizeof(ADW_CARRIER) * ADW_MAX_CARRIER); |