diff options
Diffstat (limited to 'polyp/module-cli.c')
-rw-r--r-- | polyp/module-cli.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/polyp/module-cli.c b/polyp/module-cli.c index 8897c9c6..9a08a00d 100644 --- a/polyp/module-cli.c +++ b/polyp/module-cli.c @@ -31,6 +31,7 @@ #include "iochannel.h" #include "cli.h" #include "sioman.h" +#include "log.h" static void eof_cb(struct pa_cli*c, void *userdata) { struct pa_module *m = userdata; @@ -44,12 +45,12 @@ int pa_module_init(struct pa_core *c, struct pa_module*m) { assert(c && m); if (m->argument) { - fprintf(stderr, __FILE__": module doesn't accept arguments.\n"); + pa_log(__FILE__": module doesn't accept arguments.\n"); return -1; } if (pa_stdio_acquire() < 0) { - fprintf(stderr, __FILE__": STDIN/STDUSE already in use.\n"); + pa_log(__FILE__": STDIN/STDUSE already in use.\n"); return -1; } |