ARG! committed the wrong patch!! I need more sleep :(

This commit is contained in:
Søren Schmidt 2001-12-02 12:19:16 +00:00
parent 71a6a4da18
commit f609857c68

View File

@ -75,7 +75,7 @@ ata_find_dev(device_t dev, u_int32_t devid, u_int32_t revid)
return 0;
for (i = 0; i < nchildren; i++) {
if (pci_get_slot(dev) == pci_get_slot(child) &&
if (pci_get_slot(dev) == pci_get_slot(children[i]) &&
pci_get_devid(children[i]) == devid &&
pci_get_revid(children[i]) >= revid) {
free(children, M_TEMP);