summaryrefslogtreecommitdiffstats
path: root/src/appconfig.c
diff options
context:
space:
mode:
authorLennart Weller <lhw@ring0.de>2016-04-21 12:27:39 +0000
committerLennart Weller <lhw@ring0.de>2016-04-21 12:27:39 +0000
commitedff5c9db775e6e4318f3ad007df78ecae456190 (patch)
tree3677e5fcbccc776c77dd0451e5be4711068bff46 /src/appconfig.c
parentAdd postrm and TODO, update service (diff)
parentImported Upstream version 1.1.0 (diff)
downloadnetdata-edff5c9db775e6e4318f3ad007df78ecae456190.tar.xz
netdata-edff5c9db775e6e4318f3ad007df78ecae456190.zip
Merge tag 'upstream/1.1.0'
Upstream version 1.1.0
Diffstat (limited to 'src/appconfig.c')
-rw-r--r--[-rwxr-xr-x]src/appconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/appconfig.c b/src/appconfig.c
index 49eca90f0..73b946508 100755..100644
--- a/src/appconfig.c
+++ b/src/appconfig.c
@@ -188,7 +188,7 @@ int load_config(char *filename, int overwrite_used)
if(!filename) filename = CONFIG_DIR "/" CONFIG_FILENAME;
FILE *fp = fopen(filename, "r");
if(!fp) {
- error("Cannot open file '%s'", CONFIG_DIR "/" CONFIG_FILENAME);
+ error("Cannot open file '%s'", filename);
return 0;
}
@@ -216,7 +216,7 @@ int load_config(char *filename, int overwrite_used)
if(!co) {
// line outside a section
- error("Ignoring line %d ('%s'), it is outsize all sections.", line, s);
+ error("Ignoring line %d ('%s'), it is outside all sections.", line, s);
continue;
}