summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Barth <sb@miray.de>2022-04-05 09:48:33 +0200
committerSven Barth <sb@miray.de>2022-04-05 10:03:35 +0200
commitc3e6f020575b991ff3243c2355d8550686a2de93 (patch)
tree41c38c774cfd8b8cb627d1c3ee1b7737a94d115b
parenta49f7d01b3de5369d99cefd90c6109f52dd07a6b (diff)
downloadacpica-c3e6f020575b991ff3243c2355d8550686a2de93.tar.gz
* use ACPI_ERROR() instead of fprintf() as the OS might not use or provide fprintf() and/or stderr
-rw-r--r--source/components/executer/exconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/components/executer/exconfig.c b/source/components/executer/exconfig.c
index a87316ba8..11c8ba64b 100644
--- a/source/components/executer/exconfig.c
+++ b/source/components/executer/exconfig.c
@@ -471,7 +471,7 @@ AcpiExLoadOp (
}
if (Target->Common.Type != ACPI_TYPE_INTEGER)
{
- fprintf (stderr, "Type not integer: %X\n", Target->Common.Type);
+ ACPI_ERROR ((AE_INFO, "Type not integer: %X", Target->Common.Type));
return_ACPI_STATUS (AE_AML_OPERAND_TYPE);
}