From af3813cde73db9d4c7e9dc729225f14d3e7ebce1 Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Wed, 6 Sep 2023 16:25:20 +0530 Subject: [PATCH] tools/cgclassify: fix error msg in find_scope_pid() Un-split the error message by removing the newline character in the err() in the find_scope_pid(). Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- src/tools/cgclassify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/cgclassify.c b/src/tools/cgclassify.c index d3a7b715..fb5841fe 100644 --- a/src/tools/cgclassify.c +++ b/src/tools/cgclassify.c @@ -416,8 +416,8 @@ static pid_t find_scope_pid(pid_t pid, int capture) } if (_scope_pid != scope_pid) { - err("Failed to replace scope idle_thread, found two idle_thread\n"); - err(" %u %u\n", scope_pid, _scope_pid); + err("Failed to replace scope idle_thread, found two idle_thread %u %u\n", + scope_pid, _scope_pid); scope_pid = -1; goto out; } -- 2.47.2