VirtualBox

Changeset 91255 in vbox


Ignore:
Timestamp:
Sep 15, 2021 3:20:26 PM (3 years ago)
Author:
vboxsync
Message:

VBoxGuest-netbsd.c: ​Catch up with config(9) changes in 9.99.88. While
here, fix a problem with previous change (for 9.99.82) that forgot to
save the wsmouse device handle returned by config_found(9). bugref:8547.

File:
1 edited

Legend:

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

    r88952 r91255  
    417417        goto fail;
    418418
    419 #if __NetBSD_Prereq__(9,99,82)
    420     config_found(sc->sc_dev, &am, wsmousedevprint,
    421                  CFARG_IATTR, "wsmousedev",
    422                  CFARG_EOL);
     419#if __NetBSD_Prereq__(9,99,88)
     420    sc->sc_wsmousedev = config_found(sc->sc_dev, &am, wsmousedevprint,
     421                            CFARGS(.iattr = "wsmousedev"));
     422#elif __NetBSD_Prereq__(9,99,82)
     423    sc->sc_wsmousedev = config_found(sc->sc_dev, &am, wsmousedevprint,
     424                            CFARG_IATTR, "wsmousedev",
     425                            CFARG_EOL);
    423426#else
    424     sc->sc_wsmousedev = config_found_ia(sc->sc_dev, "wsmousedev", &am, wsmousedevprint);
     427    sc->sc_wsmousedev = config_found_ia(sc->sc_dev, "wsmousedev",
     428                            &am, wsmousedevprint);
    425429#endif
     430
    426431    if (sc->sc_wsmousedev == NULL)
    427432        goto fail;
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