summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/dbhistry.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2019-08-17 00:43:23 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-08-21 01:00:36 +0300
commit231ec06e793891071e491e574fe351835aeb9c5c (patch)
tree12672d77cb6f123f6c6bb2de5640a3ea6927f886 /drivers/acpi/acpica/dbhistry.c
parent779cc7ce3dc519b05f274b79fb5a6c1703f373b5 (diff)
downloadlinux-231ec06e793891071e491e574fe351835aeb9c5c.tar.xz
ACPICA: Fix issues with arg types within printf format strings
ACPICA commit db2638ccaac84b61e92f34d60c3630ff5217f852 Link: https://github.com/acpica/acpica/commit/db2638cc Link: https://github.com/acpica/acpica/commit/634c3085 Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Erik Schmauss <erik.schmauss@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/dbhistry.c')
-rw-r--r--drivers/acpi/acpica/dbhistry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/dbhistry.c b/drivers/acpi/acpica/dbhistry.c
index 7809bd94a18d..47d2e5059849 100644
--- a/drivers/acpi/acpica/dbhistry.c
+++ b/drivers/acpi/acpica/dbhistry.c
@@ -121,7 +121,7 @@ void acpi_db_display_history(void)
for (i = 0; i < acpi_gbl_num_history; i++) {
if (acpi_gbl_history_buffer[history_index].command) {
- acpi_os_printf("%3ld %s\n",
+ acpi_os_printf("%3u %s\n",
acpi_gbl_history_buffer[history_index].
cmd_num,
acpi_gbl_history_buffer[history_index].