VirtualBox

Ignore:
Timestamp:
May 10, 2009 9:49:07 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
47118
Message:

HostDrivers,Runtime/r0drv-freebsd: Fix compiling on FreeBSD 8. Thanks to Bernhard Froehlich and Gustau Perez

File:
1 edited

Legend:

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

    r19343 r19563  
    300300    int rc;
    301301
     302#if __FreeBSD_version < 800062
    302303    dprintf(("VBoxDrvFreeBSDOpen: fOpen=%#x iUnit=%d\n", fOpen, minor2unit(minor(pDev))));
     304#else
     305    dprintf(("VBoxDrvFreeBSDOpen: fOpen=%#x iUnit=%d\n", fOpen, minor(pDev)));
     306#endif
    303307
    304308    /*
     
    352356{
    353357    PSUPDRVSESSION pSession = (PSUPDRVSESSION)pDev->si_drv1;
     358#if __FreeBSD_version < 800062
    354359    dprintf(("VBoxDrvFreeBSDClose: fFile=%#x iUnit=%d pSession=%p\n", fFile, minor2unit(minor(pDev)), pSession));
     360#else
     361    dprintf(("VBoxDrvFreeBSDClose: fFile=%#x iUnit=%d pSession=%p\n", fFile, minor(pDev), pSession));
     362#endif
    355363
    356364    /*
Note: See TracChangeset for help on using the changeset viewer.

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