summaryrefslogtreecommitdiffstats
path: root/src/appconfig.c
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-06-11 22:26:17 +0300
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-06-11 22:26:17 +0300
commit56529fd082e321b1ea82cf3b6eef3795dc073b6d (patch)
tree8549c73a0fa5d0c1d3d18dc32006513e73369471 /src/appconfig.c
parent51f7287f1e3061296e309b000bddb3dddce33dc8 (diff)
added gcc printf checking to debug(), error(), fatal(), info(), web_sprintf() and fixed all the occurences reported by the compiler
Diffstat (limited to 'src/appconfig.c')
-rw-r--r--src/appconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/appconfig.c b/src/appconfig.c
index 415b475d7e..2ca12637db 100644
--- a/src/appconfig.c
+++ b/src/appconfig.c
@@ -417,7 +417,7 @@ int load_config(char *filename, int overwrite_used)
if(!cv) cv = config_value_create(co, name, value);
else {
if(((cv->flags & CONFIG_VALUE_USED) && overwrite_used) || !(cv->flags & CONFIG_VALUE_USED)) {
- debug(D_CONFIG, "Overwriting '%s/%s'.", line, co->name, cv->name);
+ debug(D_CONFIG, "Line %d, overwriting '%s/%s'.", line, co->name, cv->name);
free(cv->value);
cv->value = strdup(value);
if(!cv->value) fatal("Cannot allocate config.value");