VirtualBox

Changeset 43522 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Oct 3, 2012 4:44:37 AM (12 years ago)
Author:
vboxsync
Message:

Main/Metrics: More fixes (#6345)

Location:
trunk/src/VBox/Main/src-server
Files:
2 edited

Legend:

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

    r43507 r43522  
    8585    if (RT_FAILURE(rc))
    8686    {
    87         LogRel(("NetIfAdpCtlStream: Failed to get program path, rc=%Rrc\n", rc));
     87        LogRel(("NetIfAdpCtlOut: Failed to get program path, rc=%Rrc\n", rc));
    8888        return VERR_INVALID_PARAMETER;
    8989    }
     
    9797    else
    9898    {
    99         LogRel(("NetIfAdpCtlStream: Command line is too long: %s%s %s\n", szAdpCtl, pcszName, pcszCmd));
     99        LogRel(("NetIfAdpCtlOut: Command line is too long: %s%s %s\n", szAdpCtl, pcszName, pcszCmd));
    100100        return VERR_INVALID_PARAMETER;
    101101    }
     
    109109            if (!strncmp(VBOXNETADPCTL_NAME ":", pszBuffer, sizeof(VBOXNETADPCTL_NAME)))
    110110            {
    111                 LogRel(("NetIfAdpCtlStream: %s", pszBuffer));
     111                LogRel(("NetIfAdpCtlOut: %s", pszBuffer));
    112112                rc = VERR_INTERNAL_ERROR;
    113113            }
     
    115115        else
    116116        {
    117             LogRel(("NetIfAdpCtlStream: No output from " VBOXNETADPCTL_NAME));
     117            LogRel(("NetIfAdpCtlOut: No output from " VBOXNETADPCTL_NAME));
    118118            rc = VERR_INTERNAL_ERROR;
    119119        }
  • trunk/src/VBox/Main/src-server/linux/NetIf-linux.cpp

    r43507 r43522  
    162162        {
    163163            /* Failed to get speed via sysfs, go to plan B. */
    164             int rc = NetIfAdpCtlOut(pszName, "info", szBuf, sizeof(szBuf));
     164            int rc = NetIfAdpCtlOut(pszName, "speed", szBuf, sizeof(szBuf));
    165165            if (RT_SUCCESS(rc))
    166166            {
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