X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=audiod.c;h=7085ef0f4da3e303df923c4ea6dd1b705911968d;hp=4864c8550d35d66d813c9a553685f8cc761acd88;hb=65453788515cd5f4c905b518745b4dd7f6f2da10;hpb=c5670af5c1f784fe6c3d46d0281f2ba7c47af75e diff --git a/audiod.c b/audiod.c index 4864c855..7085ef0f 100644 --- a/audiod.c +++ b/audiod.c @@ -33,6 +33,7 @@ #include "signal.h" #include "version.h" +__printf_2_3 void (*para_log)(int, const char*, ...) = daemon_log; /** define the array of error lists needed by para_audiod */ INIT_AUDIOD_ERRLISTS; /** define the array containing all supported audio formats */ @@ -1381,7 +1382,7 @@ int main(int argc, char *argv[]) init_command_task(cmd_task); if (conf.daemon_given) - daemonize(); + daemonize(false /* parent exits immediately */); register_task(&sig_task->task); register_task(&cmd_task->task);