summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Lewandowski <k.lewandowsk@samsung.com>2019-03-26 14:45:37 (GMT)
committerKarol Lewandowski <k.lewandowsk@samsung.com>2019-03-26 14:45:37 (GMT)
commit382fb5155a3748f1bcbc14ed05649002f4f2e991 (patch)
treeee47c707dd42dabb3e809125e5a57dea22f4301b
parent7f1903190af55705efb7dbb6411d004aa8f0cd4e (diff)
downloadcrash-worker-sandbox/klewandowski/config-rework.zip
crash-worker-sandbox/klewandowski/config-rework.tar.gz
crash-worker-sandbox/klewandowski/config-rework.tar.bz2
Change-Id: I3c150fdbca0a7ef26a62fef8ddf6bad5191e2934
-rw-r--r--src/shared/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/config.c b/src/shared/config.c
index da64e76..08cfcfa 100644
--- a/src/shared/config.c
+++ b/src/shared/config.c
@@ -61,7 +61,7 @@ bool config_get(config_t *c, const char *const path)
return false;
}
-#define GET(type, key, defval) iniparser_get##type(ini, CRASH_SECTION#key, defval)
+#define GET(type, key, defval) iniparser_get##type(ini, CRASH_SECTION ":" #key, defval)
c->system_max_use = GET(int, "SystemMaxUse", SYSTEM_MAX_USE);
c->system_keep_free = GET(int, "SystemKeepFree", SYSTEM_KEEP_FREE);