Changeset 17764 in vbox
- Timestamp:
- Mar 12, 2009 4:44:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/generic/NetIf-generic.cpp
r17722 r17764 44 44 int rc = RTPathProgram(szAdpCtl, sizeof(szAdpCtl) - sizeof("/" VBOXNETADPCTL_NAME)); 45 45 if (RT_FAILURE(rc)) 46 { 47 LogRel(("NetIfAdpCtl: failed to get program path, rc=%Vrc.\n", rc)); 46 48 return rc; 49 } 47 50 strcat(szAdpCtl, "/" VBOXNETADPCTL_NAME); 48 51 args[0] = szAdpCtl; … … 53 56 if (!RTPathExists(szAdpCtl)) 54 57 { 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", 56 59 szAdpCtl)); 57 60 return VERR_FILE_NOT_FOUND; … … 59 62 60 63 RTPROCESS pid; 61 rc = RTProcCreate( VBOXNETADPCTL_NAME, args, RTENV_DEFAULT, 0, &pid);64 rc = RTProcCreate(szAdpCtl, args, RTENV_DEFAULT, 0, &pid); 62 65 if (RT_SUCCESS(rc)) 63 66 { … … 69 72 return VINF_SUCCESS; 70 73 } 74 else 75 LogRel(("NetIfAdpCtl: failed to create process for %.\n", 76 szAdpCtl)); 71 77 return rc; 72 78 }
Note:
See TracChangeset
for help on using the changeset viewer.