mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
change pa_log() and friends to not require a trailing \n on all logged strings
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@574 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
cb59817b4a
commit
4a64b0d116
74 changed files with 558 additions and 532 deletions
|
|
@ -52,17 +52,17 @@ int pa__init(pa_core *c, pa_module*m) {
|
|||
assert(c && m);
|
||||
|
||||
if (c->running_as_daemon) {
|
||||
pa_log_info(__FILE__": Running as daemon so won't load this module.\n");
|
||||
pa_log_info(__FILE__": Running as daemon so won't load this module.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (m->argument) {
|
||||
pa_log(__FILE__": module doesn't accept arguments.\n");
|
||||
pa_log(__FILE__": module doesn't accept arguments.");
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (pa_stdio_acquire() < 0) {
|
||||
pa_log(__FILE__": STDIN/STDUSE already in use.\n");
|
||||
pa_log(__FILE__": STDIN/STDUSE already in use.");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue