summaryrefslogtreecommitdiffstats
path: root/src/tests/thread-mainloop-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/thread-mainloop-test.c')
-rw-r--r--src/tests/thread-mainloop-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/thread-mainloop-test.c b/src/tests/thread-mainloop-test.c
index 263cd57d..3bcf4f16 100644
--- a/src/tests/thread-mainloop-test.c
+++ b/src/tests/thread-mainloop-test.c
@@ -47,7 +47,7 @@ int main(int argc, char *argv[]) {
pa_assert_se(m = pa_threaded_mainloop_new());
pa_assert_se(a = pa_threaded_mainloop_get_api(m));
- pa_threaded_mainloop_start(m);
+ pa_assert_se(pa_threaded_mainloop_start(m) >= 0);
pa_threaded_mainloop_lock(m);