mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-12 05:55:37 +00:00
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:
parent
2a351215f4
commit
21c7fa2881
@ -228,7 +228,7 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
HRESULT hrc = setupmachine();
|
HRESULT hrc = setupmachine();
|
||||||
if (FAILED(hrc)) {
|
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;
|
return -2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user