VBOX: Fix a dump hypervisor log format issue

This commit is contained in:
Rom Walton 2014-02-11 10:31:49 -05:00
parent ab813b6ce9
commit 35d2786797
1 changed files with 2 additions and 1 deletions

View File

@ -1514,13 +1514,14 @@ void VBOX_VM::dumphypervisorlogs(bool include_error_logs) {
stderr,
"\n"
" VM Guest Log:\n\n"
"%s\n",
"%s",
local_guest_log.c_str()
);
if (vm_exit_code) {
fprintf(
stderr,
"\n"
" VM Exit Code: %d (0x%x)\n\n",
(unsigned int)vm_exit_code,
(unsigned int)vm_exit_code