summaryrefslogtreecommitdiffstats
path: root/sys/dev/if_ndis/if_ndis_pci.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2005-02-28 16:47:54 +0000
committerwpaul <wpaul@FreeBSD.org>2005-02-28 16:47:54 +0000
commit39e96588cc3d25c19fd1e811b9b5b1681ab36ef4 (patch)
tree48fc1f41c41d45b5381c8d829ffd4ea267e1d17c /sys/dev/if_ndis/if_ndis_pci.c
parent14f61c0288b29d830c411f80b765a67e08b166a6 (diff)
downloadFreeBSD-src-39e96588cc3d25c19fd1e811b9b5b1681ab36ef4.zip
FreeBSD-src-39e96588cc3d25c19fd1e811b9b5b1681ab36ef4.tar.gz
Use 0 instead if NULL for vm_offset_t argument to windrv_lookup() to
silence compiler warnings.
Diffstat (limited to 'sys/dev/if_ndis/if_ndis_pci.c')
-rw-r--r--sys/dev/if_ndis/if_ndis_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/if_ndis/if_ndis_pci.c b/sys/dev/if_ndis/if_ndis_pci.c
index 4cb1a58..502225b 100644
--- a/sys/dev/if_ndis/if_ndis_pci.c
+++ b/sys/dev/if_ndis/if_ndis_pci.c
@@ -147,7 +147,7 @@ ndis_probe_pci(dev)
driver_object *drv;
t = ndis_devs;
- drv = windrv_lookup(NULL, "PCI Bus");
+ drv = windrv_lookup(0, "PCI Bus");
if (drv == NULL)
return(ENXIO);
OpenPOWER on IntegriCloud