VirtualBox

Changeset 10545 in vbox


Ignore:
Timestamp:
Jul 11, 2008 6:43:14 PM (17 years ago)
Author:
vboxsync
Message:

IOCTL fix for Linux. Hope nothing broke ...

Location:
trunk/src/VBox/Additions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp

    r10543 r10545  
    12151215     */
    12161216    int rc = VINF_SUCCESS;
    1217     if (VBOXGUEST_IOCTL_STRIP_SIZE(iFunction) == VBOXGUEST_IOCTL_STRIP_SIZE(VBOXGUEST_IOCTL_VMMREQUEST(0)))
     1217    if (VBOXGUEST_IOCTL_STRIP_SIZE(iFunction) == VBOXGUEST_IOCTL_STRIP_SIZE(VBOXGUEST_IOCTL_VMMREQUEST))
    12181218    {
    12191219        CHECKRET_MIN_SIZE("VMMREQUEST", sizeof(VMMDevRequestHeader));
  • trunk/src/VBox/Additions/linux/module/vboxmod.c

    r10543 r10545  
    435435                IOCTL_LOG_EXIT(arg);
    436436        }
    437         else if (   VBOXGUEST_IOCTL_STRIP_SIZE(VBOXGUEST_IOCTL_VMMREQUEST(0))
     437        else if (   VBOXGUEST_IOCTL_STRIP_SIZE(VBOXGUEST_IOCTL_VMMREQUEST)
    438438            == VBOXGUEST_IOCTL_STRIP_SIZE(cmd))  {
    439439            VMMDevRequestHeader reqHeader;
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