Changeset 53764 in vbox
- Timestamp:
- Jan 9, 2015 4:03:52 PM (10 years ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxService
- Files:
-
- 3 edited
-
VBoxService.cpp (modified) (1 diff)
-
VBoxServiceVMInfo-win.cpp (modified) (1 diff)
-
VBoxServiceVMInfo.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp
r53421 r53764 1073 1073 || dwErr == ERROR_ACCESS_DENIED) 1074 1074 { 1075 VBoxServiceError("%s is already running! Terminating. ", g_pszProgName);1075 VBoxServiceError("%s is already running! Terminating.\n", g_pszProgName); 1076 1076 return RTEXITCODE_FAILURE; 1077 1077 } 1078 1078 1079 VBoxServiceError("CreateMutex failed with last error %u! Terminating ", GetLastError());1079 VBoxServiceError("CreateMutex failed with last error %u! Terminating.\n", GetLastError()); 1080 1080 return RTEXITCODE_FAILURE; 1081 1081 } -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo-win.cpp
r53333 r53764 261 261 262 262 default: 263 VBoxServiceError("Token class not implemented: %ld ", tkClass);263 VBoxServiceError("Token class not implemented: %ld\n", tkClass); 264 264 rc = VERR_NOT_IMPLEMENTED; 265 265 break; -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
r51564 r53764 738 738 } 739 739 else 740 VBoxServiceError("ConsoleKit: unable to retrieve user for session '%s' (msg type=%d): %s", 741 *ppszCurSession, dbus_message_get_type(pMsgUnixUser), 742 dbus_error_is_set(&dbErr) ? dbErr.message : "No error information available"); 740 { 741 static int s_iBitchedAboutConsoleKit = 0; 742 if (s_iBitchedAboutConsoleKit < 1) 743 { 744 s_iBitchedAboutConsoleKit++; 745 VBoxServiceError("ConsoleKit: unable to retrieve user for session '%s' (msg type=%d): %s\n", 746 *ppszCurSession, dbus_message_get_type(pMsgUnixUser), 747 dbus_error_is_set(&dbErr) ? dbErr.message : "No error information available"); 748 } 749 } 743 750 744 751 if (pMsgUnixUser) … … 750 757 else 751 758 { 752 VBoxServiceError("ConsoleKit: unable to retrieve session parameters (msg type=%d): %s ",759 VBoxServiceError("ConsoleKit: unable to retrieve session parameters (msg type=%d): %s\n", 753 760 dbus_message_get_type(pMsgSessions), 754 761 dbus_error_is_set(&dbErr) ? dbErr.message : "No error information available"); … … 766 773 { 767 774 static int s_iBitchedAboutConsoleKit = 0; 768 if (s_iBitchedAboutConsoleKit++ < 3) 775 if (s_iBitchedAboutConsoleKit < 3) 776 { 777 s_iBitchedAboutConsoleKit++; 769 778 VBoxServiceError("Unable to invoke ConsoleKit (%d/3) -- maybe not installed / used? Error: %s\n", 770 779 s_iBitchedAboutConsoleKit, 771 780 dbus_error_is_set(&dbErr) ? dbErr.message : "No error information available"); 781 } 772 782 } 773 783 … … 778 788 { 779 789 static int s_iBitchedAboutDBus = 0; 780 if (s_iBitchedAboutDBus++ < 3) 790 if (s_iBitchedAboutDBus < 3) 791 { 792 s_iBitchedAboutDBus++; 781 793 VBoxServiceError("Unable to connect to system D-Bus (%d/3): %s\n", s_iBitchedAboutDBus, 782 794 pConnection && dbus_error_is_set(&dbErr) ? dbErr.message : "D-Bus not installed"); 795 } 783 796 } 784 797 … … 1456 1469 { 1457 1470 static int s_iBitchedAboutLAClientInfo = 0; 1458 if (s_iBitchedAboutLAClientInfo++ < 10) 1471 if (s_iBitchedAboutLAClientInfo < 10) 1472 { 1473 s_iBitchedAboutLAClientInfo++; 1459 1474 VBoxServiceError("Error getting active location awareness client info, rc=%Rrc\n", rc2); 1475 } 1460 1476 } 1461 1477 } … … 1478 1494 static int s_iBitchedAboutLAClient = 0; 1479 1495 if ( (rc2 != VERR_NOT_FOUND) /* No location awareness installed, skip. */ 1480 && s_iBitchedAboutLAClient++ < 3) 1496 && s_iBitchedAboutLAClient < 3) 1497 { 1498 s_iBitchedAboutLAClient++; 1481 1499 VBoxServiceError("VRDP: Querying connected location awareness client failed with rc=%Rrc\n", rc2); 1500 } 1482 1501 } 1483 1502
Note:
See TracChangeset
for help on using the changeset viewer.

