VirtualBox

Ignore:
Timestamp:
Feb 6, 2009 1:07:22 PM (16 years ago)
Author:
vboxsync
Message:

Solaris/vboxdrv/vboxflt: Fixed incorrect return value on failure on _init.

File:
1 edited

Legend:

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

    r16161 r16546  
    6060#include <iprt/alloc.h>
    6161#include <iprt/string.h>
     62#include <iprt/err.h>
    6263
    6364
     
    230231                    rc = mod_install(&g_VBoxDrvSolarisModLinkage);
    231232                    if (!rc)
    232                         return 0; /* success */
     233                        return rc; /* success */
    233234
    234235                    ddi_soft_state_fini(&g_pVBoxDrvSolarisState);
     
    253254    memset(&g_DevExt, 0, sizeof(g_DevExt));
    254255
    255     return -1;
     256    return RTErrConvertToErrno(rc);
    256257}
    257258
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