summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_rl.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-12-23 02:36:43 +0000
committerpeter <peter@FreeBSD.org>2003-12-23 02:36:43 +0000
commit7cc77e03ae647ad532a0a4b708811e38ed15c9e4 (patch)
treed22ef24bdd562f18d9dfc77f257b3dd71335c80f /sys/pci/if_rl.c
parent409dd19ac040f6465a4e73882c919f0dc679c18e (diff)
downloadFreeBSD-src-7cc77e03ae647ad532a0a4b708811e38ed15c9e4.zip
FreeBSD-src-7cc77e03ae647ad532a0a4b708811e38ed15c9e4.tar.gz
Catch a few places where NULL (pointer) was used where 0 (integer) was
expected.
Diffstat (limited to 'sys/pci/if_rl.c')
-rw-r--r--sys/pci/if_rl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index 921d047..1e3863f 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -170,7 +170,7 @@ static struct rl_type rl_devs[] = {
"LevelOne FPC-0106TX" },
{ EDIMAX_VENDORID, EDIMAX_DEVICEID_EP4103DL, RL_8139,
"Edimax EP-4103DL CardBus" },
- { 0, 0, NULL }
+ { 0, 0, 0, NULL }
};
static int rl_probe (device_t);
OpenPOWER on IntegriCloud