From 388aca6472a450f8064c930a5993e75556a8ab93 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 12 May 2016 16:35:54 +0000 Subject: [PATCH] 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. --- process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0