summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/config.c b/config.c
index c2741db..c49a7e9 100644
--- a/config.c
+++ b/config.c
@@ -376,8 +376,7 @@ config_parse_header(struct cfg *cfg, const char *filename, const char *title,
sprintf(titlehdr, "[%s]", title);
if (strcmp(line, titlehdr)) {
- printf("%s: incorrect header in configuration file\n",
- filename);
+ error("%s: incorrect header in configuration file\n", filename);
return false;
}
}