diff --git a/drivers/power/pm_procfs.c b/drivers/power/pm_procfs.c index 2f862d40d3..0760c47af8 100644 --- a/drivers/power/pm_procfs.c +++ b/drivers/power/pm_procfs.c @@ -45,10 +45,11 @@ ****************************************************************************/ #define STHDR "DOMAIN%d WAKE SLEEP TOTAL\n" -#define STFMT "%-8s %8lus %02lu%% %8lus %02lu%% %8lus %02lu%%\n" +#define STFMT "%-8s %8" PRIu32 "s %02" PRIu32 "%% %8" PRIu32 "s %02" \ + PRIu32 "%% %8" PRIu32 "s %02" PRIu32 "%%\n" #define WAHDR "DOMAIN%d STATE COUNT TIME\n" -#define WAFMT "%-12s %-10s %4lu %8lus\n" +#define WAFMT "%-12s %-10s %4" PRIu32 " %8" PRIu32 "s\n" /* Determines the size of an intermediate buffer that must be large enough * to handle the longest line generated by this logic (plus a couple of