VirtualBox

Changeset 17764 in vbox


Ignore:
Timestamp:
Mar 12, 2009 4:44:22 PM (16 years ago)
Author:
vboxsync
Message:

Hostonly installer for Darwin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/generic/NetIf-generic.cpp

    r17722 r17764  
    4444    int rc = RTPathProgram(szAdpCtl, sizeof(szAdpCtl) - sizeof("/" VBOXNETADPCTL_NAME));
    4545    if (RT_FAILURE(rc))
     46    {
     47        LogRel(("NetIfAdpCtl: failed to get program path, rc=%Vrc.\n", rc));
    4648        return rc;
     49    }
    4750    strcat(szAdpCtl, "/" VBOXNETADPCTL_NAME);
    4851    args[0] = szAdpCtl;
     
    5356    if (!RTPathExists(szAdpCtl))
    5457    {
    55         LogRel(("NetIf: path %s does not exist. Failed to run " VBOXNETADPCTL_NAME " helper.\n",
     58        LogRel(("NetIfAdpCtl: path %s does not exist. Failed to run " VBOXNETADPCTL_NAME " helper.\n",
    5659                szAdpCtl));
    5760        return VERR_FILE_NOT_FOUND;
     
    5962
    6063    RTPROCESS pid;
    61     rc = RTProcCreate(VBOXNETADPCTL_NAME, args, RTENV_DEFAULT, 0, &pid);
     64    rc = RTProcCreate(szAdpCtl, args, RTENV_DEFAULT, 0, &pid);
    6265    if (RT_SUCCESS(rc))
    6366    {
     
    6972            return VINF_SUCCESS;
    7073    }
     74    else
     75        LogRel(("NetIfAdpCtl: failed to create process for %.\n",
     76                szAdpCtl));
    7177    return rc;
    7278}
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