From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= Date: Thu, 9 Sep 2021 13:59:59 +0900 Subject: Don't reference non-standard realtime group MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit There is no dedicated realtime group in most distributions. So make the error message a bit more understandable for people not running Redhat MRG. Signed-off-by: Uwe Kleine-König Forwarded: id:1310590111-11484-1-git-send-email-u.kleine-koenig@pengutronix.de Closes: http://bugs.debian.org/619938 --- src/lib/rt-utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/src/lib/rt-utils.c +++ b/src/lib/rt-utils.c @@ -242,7 +242,8 @@ param.sched_priority = 1; if (sched_setscheduler(0, SCHED_FIFO, ¶m)) { fprintf(stderr, "Unable to change scheduling policy!\n"); - fprintf(stderr, "either run as root or join realtime group\n"); + fprintf(stderr, "Probably missing capabilities, either run as " + "root or increase RLIMIT_RTPRIO limits.\n"); return 1; }