From: Paul Floyd Date: Sun, 12 Mar 2023 08:39:35 +0000 (+0100) Subject: coverity: printf args format mismatch X-Git-Tag: VALGRIND_3_21_0~114 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=d3a49926ad4c35e7d72bd435cf111d4cf507be54;p=valgrind.git coverity: printf args format mismatch --- 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; }