From: Dmitry V. Levin Date: Mon, 16 May 2016 22:52:04 +0000 (+0000) Subject: Fix printing of invalid 3rd argument of fcntl/fcntl64 syscall X-Git-Tag: v4.12~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c560c80aa0f9dbe684c4aaca02b110ad8b6af4b5;p=strace Fix printing of invalid 3rd argument of fcntl/fcntl64 syscall * fcntl.c (print_fcntl): Print 3rd argument of F_NOTIFY, F_SETLEASE, and F_ADD_SEALS operations using printflags_long. --- diff --git a/fcntl.c b/fcntl.c index e446a1c6..bfe8b145 100644 --- a/fcntl.c +++ b/fcntl.c @@ -122,15 +122,15 @@ print_fcntl(struct tcb *tcp) break; case F_NOTIFY: tprints(", "); - printflags(notifyflags, tcp->u_arg[2], "DN_???"); + printflags_long(notifyflags, tcp->u_arg[2], "DN_???"); break; case F_SETLEASE: tprints(", "); - printxval(lockfcmds, tcp->u_arg[2], "F_???"); + printxval_long(lockfcmds, tcp->u_arg[2], "F_???"); break; case F_ADD_SEALS: tprints(", "); - printflags(f_seals, tcp->u_arg[2], "F_SEAL_???"); + printflags_long(f_seals, tcp->u_arg[2], "F_SEAL_???"); break; case F_SETSIG: tprints(", ");