summaryrefslogtreecommitdiff
path: root/src/pulsecore/pstream-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/pstream-util.c')
-rw-r--r--src/pulsecore/pstream-util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pulsecore/pstream-util.c b/src/pulsecore/pstream-util.c
index 449ea1f85..505f0cf56 100644
--- a/src/pulsecore/pstream-util.c
+++ b/src/pulsecore/pstream-util.c
@@ -191,6 +191,8 @@ finish:
return ret;
#else
- pa_assert_not_reached();
+ pa_assert(fail_reason);
+ *fail_reason = "memfd support not compiled in";
+ return -1;
#endif
}