From: Colin Ian King colin.king@canonical.com
Signed-off-by: Colin Ian King colin.king@canonical.com Signed-off-by: Daniel Lezcano daniel.lezcano@linaro.org --- idlestat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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;