mirror of
https://github.com/acpica/acpica/
synced 2025-02-07 00:54:16 +03:00
Update error/warning interfaces.
Moved the module name and line number to the end of the message.
This commit is contained in:
parent
2f55581d17
commit
5541c0cae8
@ -1279,11 +1279,11 @@ AcpiError (
|
||||
va_list args;
|
||||
|
||||
|
||||
AcpiOsPrintf ("ACPI Error (%s-%04d): ", ModuleName, LineNumber);
|
||||
AcpiOsPrintf ("ACPI Error: ");
|
||||
|
||||
va_start (args, Format);
|
||||
AcpiOsVprintf (Format, args);
|
||||
AcpiOsPrintf (" [%X]\n", ACPI_CA_VERSION);
|
||||
AcpiOsPrintf (" %8.8X %s-%u\n", ACPI_CA_VERSION, ModuleName, LineNumber);
|
||||
va_end (args);
|
||||
}
|
||||
|
||||
@ -1298,12 +1298,11 @@ AcpiException (
|
||||
va_list args;
|
||||
|
||||
|
||||
AcpiOsPrintf ("ACPI Exception (%s-%04d): %s, ", ModuleName, LineNumber,
|
||||
AcpiFormatException (Status));
|
||||
AcpiOsPrintf ("ACPI Exception: %s, ", AcpiFormatException (Status));
|
||||
|
||||
va_start (args, Format);
|
||||
AcpiOsVprintf (Format, args);
|
||||
AcpiOsPrintf (" [%X]\n", ACPI_CA_VERSION);
|
||||
AcpiOsPrintf (" %8.8X %s-%u\n", ACPI_CA_VERSION, ModuleName, LineNumber);
|
||||
va_end (args);
|
||||
}
|
||||
|
||||
@ -1317,11 +1316,11 @@ AcpiWarning (
|
||||
va_list args;
|
||||
|
||||
|
||||
AcpiOsPrintf ("ACPI Warning (%s-%04d): ", ModuleName, LineNumber);
|
||||
AcpiOsPrintf ("ACPI Warning: ");
|
||||
|
||||
va_start (args, Format);
|
||||
AcpiOsVprintf (Format, args);
|
||||
AcpiOsPrintf (" [%X]\n", ACPI_CA_VERSION);
|
||||
AcpiOsPrintf (" %8.8X %s-%u\n", ACPI_CA_VERSION, ModuleName, LineNumber);
|
||||
va_end (args);
|
||||
}
|
||||
|
||||
@ -1335,10 +1334,6 @@ AcpiInfo (
|
||||
va_list args;
|
||||
|
||||
|
||||
/*
|
||||
* Removed ModuleName, LineNumber, and acpica version, not needed
|
||||
* for info output
|
||||
*/
|
||||
AcpiOsPrintf ("ACPI: ");
|
||||
|
||||
va_start (args, Format);
|
||||
|
@ -617,7 +617,7 @@ AcpiSetFirmwareWakingVector64 (
|
||||
|
||||
|
||||
/*
|
||||
* Debug output
|
||||
* Error/Warning output
|
||||
*/
|
||||
void ACPI_INTERNAL_VAR_XFACE
|
||||
AcpiError (
|
||||
@ -649,6 +649,9 @@ AcpiInfo (
|
||||
...) ACPI_PRINTF_LIKE(3);
|
||||
|
||||
|
||||
/*
|
||||
* Debug output
|
||||
*/
|
||||
#ifdef ACPI_DEBUG_OUTPUT
|
||||
|
||||
void ACPI_INTERNAL_VAR_XFACE
|
||||
|
Loading…
x
Reference in New Issue
Block a user