aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2014-02-18 08:51:30 +0100
committerDaniel Lezcano <daniel.lezcano@free.fr>2014-02-18 08:51:30 +0100
commit41505eca08f1bd0f2d35733cd631be5967e38724 (patch)
treef6fdab16a7dad238e3b929f5bbbf120d5db29cc4
parent761b19925b7509c0212373e6791d6b9b11cb639f (diff)
Use the correct format specifier for size_t typeHEADmaster
Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-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;