vbox: Fix VMM startup failure message

Use printf format specifier with correct size to log error code which is
if type uint32_t. Also print the error code in hex since this simplifies
lookup as the error values are also defined as hexadecimal values, see
[1].

Fixes #1600

[1] - repos/ports/src/virtualbox/include/xpcom/nsError.h
This commit is contained in:
Adrian-Ken Rueegsegger 2015-06-18 19:05:12 +02:00 committed by Christian Helmuth
parent 2a351215f4
commit 21c7fa2881
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ int main(int argc, char **argv)
HRESULT hrc = setupmachine();
if (FAILED(hrc)) {
PERR("Start-up of VMM failed - reason %d - exiting ...", hrc);
PERR("Start-up of VMM failed - reason 0x%x - exiting ...", hrc);
return -2;
}