From: Kamalesh Babulal Date: Wed, 6 Sep 2023 10:55:20 +0000 (+0530) Subject: tools/cgclassify: fix error msg in find_scope_pid() X-Git-Tag: v3.2.0~195 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af3813cde73db9d4c7e9dc729225f14d3e7ebce1;p=thirdparty%2Flibcgroup.git 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 --- 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; }