From: Dmitry V. Levin Date: Mon, 16 May 2016 22:16:17 +0000 (+0000) Subject: Fix printing of struct sched_attr.sched_flags X-Git-Tag: v4.12~144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba62f34243109ddf98373d340addda5e3d0b1337;p=strace Fix printing of struct sched_attr.sched_flags * sched.c (print_sched_attr): Print sched_flags using printflags64. --- diff --git a/sched.c b/sched.c index bdf97073..86d4c222 100644 --- a/sched.c +++ b/sched.c @@ -115,7 +115,7 @@ print_sched_attr(struct tcb *tcp, const long addr, unsigned int size) tprintf("{size=%u, sched_policy=", attr.size); printxval(schedulers, attr.sched_policy, "SCHED_???"); tprints(", sched_flags="); - printflags(sched_flags, attr.sched_flags, "SCHED_FLAG_???"); + printflags64(sched_flags, attr.sched_flags, "SCHED_FLAG_???"); tprintf(", sched_nice=%d", attr.sched_nice); tprintf(", sched_priority=%u", attr.sched_priority); tprintf(", sched_runtime=%" PRIu64, attr.sched_runtime);