Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b95dd175 authored by Sascha Wildner's avatar Sascha Wildner Committed by Rafael J. Wysocki
Browse files

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: default avatarSascha Wildner <swildner@gmail.com>
Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLv Zheng <lv.zheng@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent d38bb002
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -494,7 +494,7 @@ acpi_ex_dump_object(union acpi_operand_object *obj_desc,
				}
			}

			acpi_os_printf("\n", next);
			acpi_os_printf("\n");
			break;

		case ACPI_EXD_HDLR_LIST:
@@ -528,7 +528,7 @@ acpi_ex_dump_object(union acpi_operand_object *obj_desc,
				}
			}

			acpi_os_printf("\n", next);
			acpi_os_printf("\n");
			break;

		case ACPI_EXD_RGN_LIST:
@@ -562,7 +562,7 @@ acpi_ex_dump_object(union acpi_operand_object *obj_desc,
				}
			}

			acpi_os_printf("\n", next);
			acpi_os_printf("\n");
			break;

		case ACPI_EXD_NODE:
+1 −2
Original line number Diff line number Diff line
@@ -201,8 +201,7 @@ acpi_ut_read_table(FILE * fp,
			status = fl_check_for_ascii(fp, NULL, FALSE);
			if (ACPI_SUCCESS(status)) {
				acpi_os_printf
				    ("File appears to be ASCII only, must be binary\n",
				     table_header.length, file_size);
				    ("File appears to be ASCII only, must be binary\n");
			}
#endif
			return (AE_BAD_HEADER);