[PATCH 6/6] Use the correct format specifier for size_t type

2014-02-18 Thread Daniel Lezcano
From: Colin Ian King 

Signed-off-by: Colin Ian King 
Signed-off-by: Daniel Lezcano 
---
 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;
-- 
1.7.9.5


___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


[PATCH 6/6] Use the correct format specifier for size_t type

2014-02-18 Thread "Daniel Lezcano
From: Colin Ian King 

Signed-off-by: Colin Ian King 
Signed-off-by: Daniel Lezcano 
---
 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;
-- 
1.7.9.5


___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev