VirtualBox

Ignore:
Timestamp:
Sep 21, 2007 10:09:52 AM (17 years ago)
Author:
vboxsync
Message:

error code corrections and better release logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPLib-darwin.cpp

    r4925 r4946  
    103103    if (!ServiceObject)
    104104    {
    105         LogRel(("Couldn't find any matches.\n"));
    106         return VERR_GENERAL_FAILURE;
     105        LogRel(("SUP: Couldn't find any matches. The kernel module is probably not loaded.\n"));
     106        return VERR_VM_DRIVER_NOT_INSTALLED;
    107107    }
    108108
     
    115115    if (kr != kIOReturnSuccess)
    116116    {
    117         LogRel(("IOServiceOpen returned %d\n", kr));
    118         return VERR_GENERAL_FAILURE;
     117        LogRel(("SUP: IOServiceOpen returned %d. Driver open failed.\n", kr));
     118        return VERR_VM_DRIVER_OPEN_ERROR;
    119119    }
    120120
     
    134134            default:        rc = VERR_VM_DRIVER_OPEN_ERROR; break;
    135135        }
    136         LogRel(("Failed to open \"%s\", errno=%d, rc=%Vrc\n", DEVICE_NAME, errno, rc));
     136        LogRel(("SUP: Failed to open \"%s\", errno=%d, rc=%Vrc\n", DEVICE_NAME, errno, rc));
    137137
    138138        kr = IOServiceClose(g_Connection);
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