VirtualBox

Changeset 63454 in vbox for trunk/src


Ignore:
Timestamp:
Aug 15, 2016 12:46:36 AM (8 years ago)
Author:
vboxsync
Message:

VBoxGuest-netbsd.c: match should return 0 on failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-netbsd.c

    r63453 r63454  
    560560{
    561561    const struct pci_attach_args *pa = aux;
    562     if ((PCI_VENDOR(pa->pa_id) == VMMDEV_VENDORID)
    563             && (PCI_PRODUCT(pa->pa_id) == VMMDEV_DEVICEID)) {
     562
     563    if (   PCI_VENDOR(pa->pa_id) == VMMDEV_VENDORID
     564        && PCI_PRODUCT(pa->pa_id) == VMMDEV_DEVICEID)
     565    {
    564566        return 1;
    565     } else {
    566         return 2;
    567     }
     567    }
     568
     569    return 0;
    568570}
    569571
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette