diff options
| author | fvdl <fvdl@NetBSD.org> | 2003-10-21 00:57:47 +0000 |
|---|---|---|
| committer | fvdl <fvdl@NetBSD.org> | 2003-10-21 00:57:47 +0000 |
| commit | 5f1e7fa5f819f773add30515b97a9993c1933276 (patch) | |
| tree | 93af484fe22b518fd35a887fc4d7d17ed808d04e /sys/dev/ic/adwmcode.c | |
| parent | bada5458de4bb4bf748a13d37408de9dff927797 (diff) | |
Correct NULL abuse.
Diffstat (limited to 'sys/dev/ic/adwmcode.c')
| -rw-r--r-- | sys/dev/ic/adwmcode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/adwmcode.c b/sys/dev/ic/adwmcode.c index 57bce55c46b..cecf92b1996 100644 --- a/sys/dev/ic/adwmcode.c +++ b/sys/dev/ic/adwmcode.c @@ -1,4 +1,4 @@ -/* $NetBSD: adwmcode.c,v 1.10 2001/11/15 09:48:04 lukem Exp $ */ +/* $NetBSD: adwmcode.c,v 1.11 2003/10/21 00:57:47 fvdl Exp $ */ /* * Generic driver definitions and exported functions for the Advanced @@ -54,7 +54,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: adwmcode.c,v 1.10 2001/11/15 09:48:04 lukem Exp $"); +__KERNEL_RCSID(0, "$NetBSD: adwmcode.c,v 1.11 2003/10/21 00:57:47 fvdl Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -84,7 +84,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; memset(carriers, 0, sizeof(ADW_CARRIER) * ADW_MAX_CARRIER); |
