Changeset 9791 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Jun 18, 2008 3:09:51 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 32160
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xclient/main.cpp
r8695 r9791 26 26 #include <iprt/path.h> 27 27 28 #include <iostream>29 #include <cstdio>30 31 28 #include <sys/types.h> 32 29 #include <stdlib.h> /* For exit */ 30 #include <stdio.h> 33 31 #include <unistd.h> 34 32 #include <errno.h> … … 175 173 void vboxClientUsage(const char *pcszFileName) 176 174 { 177 /* printf is better for i18n than iostream. */178 175 printf("Usage: %s [-d|--nodaemon]\n", pcszFileName); 179 176 printf("Start the VirtualBox X Window System guest services.\n\n"); … … 209 206 else 210 207 { 211 /* printf is better than iostream for i18n. */212 208 printf("%s: unrecognized option `%s'\n", pszFileName, argv[i]); 213 209 printf("Try `%s --help' for more information\n", pszFileName); … … 220 216 if (RT_FAILURE(rc)) 221 217 { 222 std::cout << "VBoxClient: failed to daemonize. exiting."<< std::endl;218 printf("VBoxClient: failed to daemonize. exiting."); 223 219 return 1; 224 220 } … … 228 224 if (RT_FAILURE(VbglR3Init())) 229 225 { 230 std::cout << "Failed to connect to the VirtualBox kernel service" << std::endl;226 printf("Failed to connect to the VirtualBox kernel service"); 231 227 return 1; 232 228 }
Note:
See TracChangeset
for help on using the changeset viewer.