|
From: Paul F. <pa...@so...> - 2023-03-12 08:40:29
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=d3a49926ad4c35e7d72bd435cf111d4cf507be54 commit d3a49926ad4c35e7d72bd435cf111d4cf507be54 Author: Paul Floyd <pj...@wa...> Date: Sun Mar 12 09:39:35 2023 +0100 coverity: printf args format mismatch Diff: --- coregrind/vgdb-invoker-freebsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coregrind/vgdb-invoker-freebsd.c b/coregrind/vgdb-invoker-freebsd.c index 4a8a97cb7c..27e1943685 100644 --- a/coregrind/vgdb-invoker-freebsd.c +++ b/coregrind/vgdb-invoker-freebsd.c @@ -315,7 +315,7 @@ Bool attach (pid_t pid, const char *msg) res = ptrace (PT_ATTACH, pid, 0, 0); if (res != 0) { if (output_error || debuglevel > 0) { - ERROR(errno, "%s PT_ATTACH pid %d %ld\n", msg, pid, res); + ERROR(errno, "%s PT_ATTACH pid %d %d\n", msg, pid, res); if (initial_attach) { output_error = False; } |