From 45ba7117dc25c5d5db783356c51c71a81d51e662 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 6 Sep 2007 20:45:43 +0000 Subject: [PATCH] downgrade realtime group membership warning to 'info' at be a little bit more elaborate git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1774 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/daemon/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/daemon/main.c b/src/daemon/main.c index 1409761..135a9ab 100644 --- a/src/daemon/main.c +++ b/src/daemon/main.c @@ -392,7 +392,8 @@ int main(int argc, char *argv[]) { setlocale(LC_ALL, ""); if (suid_root && (pa_own_uid_in_group(PA_REALTIME_GROUP, &gid) <= 0)) { - pa_log_warn("WARNING: called SUID root, but not in group '"PA_REALTIME_GROUP"'."); + pa_log_info("Warning: Called SUID root, but not in group '"PA_REALTIME_GROUP"'. " + "For enabling real-time scheduling please become a member of '"PA_REALTIME_GROUP"' , or increase the RLIMIT_RTPRIO user limit."); pa_drop_caps(); pa_drop_root(); suid_root = real_root = 0; -- 2.7.4