VirtualBox

Ignore:
Timestamp:
Jan 19, 2009 5:24:30 AM (16 years ago)
Author:
vboxsync
Message:

SUPDrv-freebsd.c: Made it compile again.

File:
1 edited

Legend:

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

    r13865 r16030  
    271271 * @param   iFd     The file descriptor index(?). Pre FreeBSD 7.0.
    272272 */
    273 #if FreeBSD >= 700 /* figure when and how to check properly */
     273#if __FreeBSD__ >= 7
    274274static int VBoxDrvFreeBSDOpen(struct cdev *pDev, int fOpen, struct thread *pTd, struct file *pFd)
    275275#else
     
    371371        ||  ulCmd == SUP_IOCTL_FAST_DO_HWACC_RUN
    372372        ||  ulCmd == SUP_IOCTL_FAST_DO_NOP)
    373         return supdrvIOCtlFast(uCmd, *(uint32_t *)pvData, &g_VBoxDrvFreeBSDDevExt, pSession);
     373        return supdrvIOCtlFast(ulCmd, *(uint32_t *)pvData, &g_VBoxDrvFreeBSDDevExt, pSession);
    374374
    375375    return VBoxDrvFreeBSDIOCtlSlow(pSession, ulCmd, pvData, pTd);
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