Commit f8ddf49b authored by Colin Ian King's avatar Colin Ian King Committed by Rafael J. Wysocki

ACPICA: Use %d for signed int print formatting instead of %u

Fix warnings found using static analysis with cppcheck, use %d printf
format specifier for signed ints rather than %u
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarErik Schmauss <erik.schmauss@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent c647eb98
...@@ -106,7 +106,7 @@ static int ap_insert_action(char *argument, u32 to_be_done) ...@@ -106,7 +106,7 @@ static int ap_insert_action(char *argument, u32 to_be_done)
current_action++; current_action++;
if (current_action > AP_MAX_ACTIONS) { if (current_action > AP_MAX_ACTIONS) {
fprintf(stderr, "Too many table options (max %u)\n", fprintf(stderr, "Too many table options (max %d)\n",
AP_MAX_ACTIONS); AP_MAX_ACTIONS);
return (-1); return (-1);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment