aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--idlestat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/idlestat.c b/idlestat.c
index 0961463..3f6076e 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -447,7 +447,7 @@ static struct cpuidle_datas *idlestat_load(const char *path)
fclose(f);
- fprintf(stderr, "Log is %lf secs long with %d events\n",
+ fprintf(stderr, "Log is %lf secs long with %zd events\n",
end - begin, (int)count);
return datas;