summaryrefslogtreecommitdiffstats
path: root/src/daemon/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-02-21 17:01:01 +0100
committerLennart Poettering <lennart@poettering.net>2009-02-21 17:01:09 +0100
commit9b74afcfa3fd3a870aa485fe7f70b5751bfb5158 (patch)
treeb307ff4c9bf0e24dba964a4faac142c31bde491a /src/daemon/main.c
parentfa5e10f5fa1418457e40fd0debf4bd42d4650910 (diff)
make string translatable (fixes #483)
Diffstat (limited to 'src/daemon/main.c')
-rw-r--r--src/daemon/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c
index d176f458..0675f196 100644
--- a/src/daemon/main.c
+++ b/src/daemon/main.c
@@ -506,8 +506,9 @@ int main(int argc, char *argv[]) {
if ((conf->high_priority && !allow_high_priority) ||
(conf->realtime_scheduling && !allow_realtime))
pa_log_notice(_("Called SUID root and real-time and/or high-priority scheduling was requested in the configuration. However, we lack the necessary privileges:\n"
- "We are not in group '"PA_REALTIME_GROUP"', PolicyKit refuse to grant us the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits.\n"
- "For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of '"PA_REALTIME_GROUP"', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user."));
+ "We are not in group '%s', PolicyKit refuse to grant us the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits.\n"
+ "For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of '%s', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user."),
+ PA_REALTIME_GROUP, PA_REALTIME_GROUP);
if (!allow_realtime)