diff options
author | Sascha Wildner <swildner@gmail.com> | 2014-07-30 00:20:53 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-07-30 18:50:23 -0400 |
commit | b95dd1753123071fcfe34457ed4f9429c75d5ec9 (patch) | |
tree | 2fe8989ffed0fbadfa2271fa0f0327d65ce79867 /drivers/acpi/acpica/utfileio.c | |
parent | d38bb0020452bb28579e3ade8537e9e32b41d607 (diff) |
ACPICA: Remove some extraneous printf arguments.
Arguments that have no associated % format specifier.
Apparently these are not caught by any current compilers.
ACPICA BZ 1090. Sascha Wildner.
Currently, this patch only affects applications under the
toos/power/acpi folder.
Link: https://bugs.acpica.org/show_bug.cgi?id=1090
Signed-off-by: Sascha Wildner <swildner@gmail.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/utfileio.c')
-rw-r--r-- | drivers/acpi/acpica/utfileio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/utfileio.c b/drivers/acpi/acpica/utfileio.c index bdf9914733cb..4e263a8cc6f0 100644 --- a/drivers/acpi/acpica/utfileio.c +++ b/drivers/acpi/acpica/utfileio.c | |||
@@ -201,8 +201,7 @@ acpi_ut_read_table(FILE * fp, | |||
201 | status = fl_check_for_ascii(fp, NULL, FALSE); | 201 | status = fl_check_for_ascii(fp, NULL, FALSE); |
202 | if (ACPI_SUCCESS(status)) { | 202 | if (ACPI_SUCCESS(status)) { |
203 | acpi_os_printf | 203 | acpi_os_printf |
204 | ("File appears to be ASCII only, must be binary\n", | 204 | ("File appears to be ASCII only, must be binary\n"); |
205 | table_header.length, file_size); | ||
206 | } | 205 | } |
207 | #endif | 206 | #endif |
208 | return (AE_BAD_HEADER); | 207 | return (AE_BAD_HEADER); |