From: Dmitry V. Levin Date: Thu, 12 May 2016 16:35:54 +0000 (+0000) Subject: ptrace: print PTRACE_O_* flags using printflags64 X-Git-Tag: v4.12~175 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=388aca6472a450f8064c930a5993e75556a8ab93;p=strace ptrace: print PTRACE_O_* flags using printflags64 As flags argument has a long integer type, print it using printflags64 because printflags takes unsigned int argument. * process.c (SYS_FUNC(ptrace)): Print PTRACE_O_* flags using printflags64. --- diff --git a/process.c b/process.c index 5133865b..cb0125c0 100644 --- a/process.c +++ b/process.c @@ -188,7 +188,7 @@ SYS_FUNC(ptrace) #ifdef PTRACE_OLDSETOPTIONS case PTRACE_OLDSETOPTIONS: #endif - printflags(ptrace_setoptions_flags, data, "PTRACE_O_???"); + printflags64(ptrace_setoptions_flags, data, "PTRACE_O_???"); break; case PTRACE_SETSIGINFO: printsiginfo_at(tcp, data);