From d3a49926ad4c35e7d72bd435cf111d4cf507be54 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Sun, 12 Mar 2023 09:39:35 +0100 Subject: [PATCH] coverity: printf args format mismatch --- 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; } -- 2.43.5