mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
Improve error messages a bit.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1320 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
cf7b401ac6
commit
26bfce6281
3 changed files with 8 additions and 3 deletions
|
|
@ -559,8 +559,10 @@ int main(int argc, char *argv[]) {
|
|||
mainloop = pa_mainloop_new();
|
||||
assert(mainloop);
|
||||
|
||||
if (!(c = pa_core_new(pa_mainloop_get_api(mainloop), !conf->disable_shm)))
|
||||
if (!(c = pa_core_new(pa_mainloop_get_api(mainloop), !conf->disable_shm))) {
|
||||
pa_log("pa_core_new() failed.");
|
||||
goto finish;
|
||||
}
|
||||
|
||||
c->is_system_instance = !!conf->system_instance;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue