VirtualBox

Changeset 23159 in vbox


Ignore:
Timestamp:
Sep 19, 2009 8:00:54 PM (15 years ago)
Author:
vboxsync
Message:

FreeBSD: Fix build break

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/freebsd/VBoxNetAdp-freebsd.c

    r23068 r23159  
    147147 */
    148148static int
    149 VBoxNetAdpFreeBSDCtrlioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *td)
     149VBoxNetAdpFreeBSDCtrlioctl(struct cdev *dev, u_long iCmd, caddr_t data, int flags, struct thread *td)
    150150{
    151151    PVBOXNETADP pAdp;
     
    154154    int rc;
    155155
    156     switch (cmd)
     156    switch (iCmd)
    157157    {
    158158        case VBOXNETADP_CTL_ADD:
    159             if (   !(cmd & IOC_OUT)   /* paranoia*/
     159            if (   !(iCmd & IOC_OUT)   /* paranoia*/
    160160                || IOCPARM_LEN(iCmd) < sizeof(*pReq))
    161161                return EINVAL;
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