From: Vincent Guittot vincent.guittot@linaro.org
use %llu to display 64bits value
Signed-off-by: Vincent Guittot vincent.guittot@linaro.org --- src/rt-app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/rt-app.c b/src/rt-app.c index 4629980..1095bc8 100644 --- a/src/rt-app.c +++ b/src/rt-app.c @@ -295,8 +295,8 @@ void *thread_body(void *arg) * budget as little as possible for the first iteration. */ if (data->sched_policy == SCHED_DEADLINE) { - log_notice("[%d] starting thread with period: %lu, exec: %lu," - "deadline: %lu, priority: %d", + log_notice("[%d] starting thread with period: %llu, exec: %llu," + "deadline: %llu, priority: %d", data->ind, attr.sched_period / 1000, attr.sched_runtime / 1000,