- Timestamp:
- Oct 9, 2009 3:36:16 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 53363
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceExec.cpp
r23634 r23653 137 137 void *pvBuf = NULL; 138 138 int rc; 139 139 140 *ppszValue = NULL; 140 141 … … 199 200 break; /* done */ 200 201 } 202 201 203 RTMemFree(pvBuf); 202 204 return rc; … … 397 399 * Store the result in Set return value so the host knows what happend. 398 400 */ 399 rc = VBoxServiceWritePropF(g_uExecGuestPropSvcClientID, 400 "/VirtualBox/HostGuest/SysprepRet", 401 "%d", Status.iStatus); 402 if (RT_FAILURE(rc)) 403 VBoxServiceError("Exec: Failed to write SysprepRet: rc=%Rrc\n", rc); 401 VBoxServiceWritePropF(g_uExecGuestPropSvcClientID, 402 "/VirtualBox/HostGuest/SysprepRet", 403 "%d", Status.iStatus); 404 404 } 405 405 else … … 443 443 */ 444 444 if (rc != VERR_NOT_FOUND) 445 { 446 rc = VBoxServiceWritePropF(g_uExecGuestPropSvcClientID, "/VirtualBox/HostGuest/SysprepVBoxRC", "%d", rc); 447 if (RT_FAILURE(rc)) 448 VBoxServiceError("Exec: Failed to write SysprepVBoxRC: rc=%Rrc\n", rc); 449 } 445 VBoxServiceWritePropF(g_uExecGuestPropSvcClientID, "/VirtualBox/HostGuest/SysprepVBoxRC", "%d", rc); 450 446 } 451 447
Note:
See TracChangeset
for help on using the changeset viewer.