Quick Updates

svn path=/trunk/boinc/; revision=22716
This commit is contained in:
Rom Walton 2010-11-18 21:18:15 +00:00
parent 82431c1d4e
commit 3676b36f20
1 changed files with 2 additions and 2 deletions

View File

@ -1104,7 +1104,7 @@ int HOST_INFO::get_virtualbox_version() {
FILE* fd;
#if LINUX_LIKE_SYSTEM
strcpy(path, "/usr/lib/virtualbox");
strcpy(path, "/usr/lib/virtualbox/VBoxManage");
#elif defined( __APPLE__)
FSRef theFSRef;
OSStatus status = noErr;
@ -1125,7 +1125,7 @@ int HOST_INFO::get_virtualbox_version() {
if (boinc_file_exists(path)) {
#if LINUX_LIKE_SYSTEM
safe_strcpy(cmd, path);
safe_strcat(cmd, "/VBoxManager --version ");
safe_strcat(cmd, " --version");
#elif defined( __APPLE__)
safe_strcpy(cmd, "defaults read ");
safe_strcat(cmd, path);