aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>2000-01-15 18:04:28 +0000
committerBill Paul <wpaul@FreeBSD.org>2000-01-15 18:04:28 +0000
commitcf91f8282c8537baf273d2a0b904d225e1c04f77 (patch)
treea7e94f3d4dc3d9db7092a5d18decf3e02fa38afd /sys
parentd82f495687f85109060a381017cd413da8e8743c (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/an/if_an_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/an/if_an_pci.c b/sys/dev/an/if_an_pci.c
index 104d4de3ff965..c114afb91ddaf 100644
--- a/sys/dev/an/if_an_pci.c
+++ b/sys/dev/an/if_an_pci.c
@@ -120,7 +120,7 @@ static int an_probe_pci(device_t dev)
while(t->an_name != NULL) {
if (pci_get_vendor(dev) == t->an_vid &&
- pci_get_vendor(dev) == t->an_did) {
+ pci_get_device(dev) == t->an_did) {
device_set_desc(dev, t->an_name);
return(0);
}