summaryrefslogtreecommitdiff
path: root/tools/power/acpi/common/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/power/acpi/common/getopt.c')
-rw-r--r--tools/power/acpi/common/getopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/acpi/common/getopt.c b/tools/power/acpi/common/getopt.c
index e9e80910a61d..3919970f5aea 100644
--- a/tools/power/acpi/common/getopt.c
+++ b/tools/power/acpi/common/getopt.c
@@ -57,7 +57,7 @@
#include "acapps.h"
#define ACPI_OPTION_ERROR(msg, badchar) \
- if (acpi_gbl_opterr) {acpi_log_error ("%s%c\n", msg, badchar);}
+ if (acpi_gbl_opterr) {fprintf (stderr, "%s%c\n", msg, badchar);}
int acpi_gbl_opterr = 1;
int acpi_gbl_optind = 1;