summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/pw-cat.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/pw-cat.c b/src/tools/pw-cat.c
index 3d66a396..d827c811 100644
--- a/src/tools/pw-cat.c
+++ b/src/tools/pw-cat.c
@@ -1437,7 +1437,11 @@ int main(int argc, char *argv[])
pw_loop_add_signal(l, SIGINT, do_quit, &data);
pw_loop_add_signal(l, SIGTERM, do_quit, &data);
- data.context = pw_context_new(l, NULL, 0);
+ data.context = pw_context_new(l,
+ pw_properties_new(
+ PW_KEY_CONTEXT_PROFILE_MODULES, "default,rtkit",
+ NULL),
+ 0);
if (!data.context) {
fprintf(stderr, "error: pw_context_new() failed: %m\n");
goto error_no_context;