diff options
Diffstat (limited to 'argparse.c')
-rw-r--r-- | argparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -86,7 +86,7 @@ void argparse(int argc, char **argv) else if (strcmp(userconfig.logger_name,"syslog")==0) userconfig.logger=&logger_syslog; else if (strcmp(userconfig.logger_name,"kmsg")==0) userconfig.logger=&logger_kmsg; else { - printf("Invalid value for logger, exiting.\n"); + config.logger("Invalid value for logger, exiting"); exit(1); } |