|
@@ -107,9 +107,16 @@ acpi_exception(const char *module_name,
|
|
|
va_list arg_list;
|
|
|
|
|
|
ACPI_MSG_REDIRECT_BEGIN;
|
|
|
- acpi_os_printf(ACPI_MSG_EXCEPTION "%s, ",
|
|
|
- acpi_format_exception(status));
|
|
|
|
|
|
+ /* For AE_OK, just print the message */
|
|
|
+
|
|
|
+ if (ACPI_SUCCESS(status)) {
|
|
|
+ acpi_os_printf(ACPI_MSG_EXCEPTION);
|
|
|
+
|
|
|
+ } else {
|
|
|
+ acpi_os_printf(ACPI_MSG_EXCEPTION "%s, ",
|
|
|
+ acpi_format_exception(status));
|
|
|
+ }
|
|
|
va_start(arg_list, format);
|
|
|
acpi_os_vprintf(format, arg_list);
|
|
|
ACPI_MSG_SUFFIX;
|