From 124223fd418c78722a049310d65c9385dce829da Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 2 Jul 2014 23:41:58 -0400 Subject: [PATCH] VBOX: Fix typos in launch_vboxvm() logic. It isn't currently used, but I do want to try and get that working at some point in the future. --- samples/vboxwrapper/vbox.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/vboxwrapper/vbox.cpp b/samples/vboxwrapper/vbox.cpp index 74c49bbe88..e5b18079e7 100644 --- a/samples/vboxwrapper/vbox.cpp +++ b/samples/vboxwrapper/vbox.cpp @@ -2611,7 +2611,7 @@ int VBOX_VM::launch_vboxvm() { &si, &pi )) { - vboxwrapper_msg_prefix(buf, sizeof(buf)), + vboxwrapper_msg_prefix(buf, sizeof(buf)); fprintf( stderr, "%s Status Report: Launching virtualbox.exe/vboxheadless.exe failed!.\n" @@ -2621,6 +2621,7 @@ int VBOX_VM::launch_vboxvm() { windows_format_error_string(GetLastError(), error_msg, sizeof(error_msg)), GetLastError() ); + goto CLEANUP; }