aboutsummaryrefslogtreecommitdiffstats
path: root/argparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'argparse.c')
-rw-r--r--argparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/argparse.c b/argparse.c
index 7246d31..43ee2ec 100644
--- a/argparse.c
+++ b/argparse.c
@@ -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);
}