summaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/module-default-device-restore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/module-default-device-restore.c b/src/modules/module-default-device-restore.c
index f0d0fe6c..1e7fa691 100644
--- a/src/modules/module-default-device-restore.c
+++ b/src/modules/module-default-device-restore.c
@@ -163,10 +163,10 @@ int pa__init(pa_module *m) {
u = pa_xnew0(struct userdata, 1);
u->core = m->core;
- if (!(u->sink_filename = pa_runtime_path(DEFAULT_SINK_FILE)))
+ if (!(u->sink_filename = pa_state_path(DEFAULT_SINK_FILE)))
goto fail;
- if (!(u->source_filename = pa_runtime_path(DEFAULT_SOURCE_FILE)))
+ if (!(u->source_filename = pa_state_path(DEFAULT_SOURCE_FILE)))
goto fail;
load(u);