From: Kamalesh Babulal Date: Wed, 6 Sep 2023 10:55:20 +0000 (+0530) Subject: tools/cgexec: fix error msg in find_scope_pid() X-Git-Tag: v3.2.0~194 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8467761df6a9d3c688c17642264d26b07c199b1e;p=thirdparty%2Flibcgroup.git tools/cgexec: 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/cgexec.c b/src/tools/cgexec.c index 863d4fb5..ba8b8b95 100644 --- a/src/tools/cgexec.c +++ b/src/tools/cgexec.c @@ -354,8 +354,8 @@ static pid_t find_scope_pid(pid_t pid) } 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); goto out; } }