diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-16 21:13:35 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-16 21:13:35 +0200 |
commit | 20e7a577359fc015f2f7746b8f5206d821561d8a (patch) | |
tree | bdd5d66688b918d40ce536135af102df77cca6cf | |
parent | 8f7b1623846d644a144d68168ec3529ccc83df51 (diff) |
Missed one in config
-rw-r--r-- | config.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; } } |