acpiexec: Make hex the base for the -x option

decimal makes no sense, and leads to something like this:

acpiexec -x0x00ffffff

This change cleans this up.
This commit is contained in:
Robert Moore 2018-05-18 10:09:11 -07:00
parent b63f37627b
commit 926a7331ef

View File

@ -566,7 +566,7 @@ AeDoOptions (
case 'x':
AcpiDbgLevel = strtoul (AcpiGbl_Optarg, NULL, 0);
AcpiDbgLevel = strtoul (AcpiGbl_Optarg, NULL, 16);
AcpiGbl_DbConsoleDebugLevel = AcpiDbgLevel;
printf ("Debug Level: 0x%8.8X\n", AcpiDbgLevel);
break;