aboutsummaryrefslogtreecommitdiffstats
path: root/src/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.c')
-rw-r--r--src/settings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings.c b/src/settings.c
index 0d856bf3f..d7e96222a 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -348,7 +348,7 @@ json_fin_cb (memory_pool_t * pool, struct map_cb_data *data)
}
gboolean
-read_settings (const gchar *path, struct config_file *cfg, GHashTable * table)
+read_settings (const gchar *path, const gchar *description, struct config_file *cfg, GHashTable * table)
{
struct json_buf *jb = g_malloc (sizeof (struct json_buf)), **pjb;
@@ -358,7 +358,7 @@ read_settings (const gchar *path, struct config_file *cfg, GHashTable * table)
jb->buf = NULL;
*pjb = jb;
- if (!add_map (cfg, path, json_read_cb, json_fin_cb, (void **)pjb)) {
+ if (!add_map (cfg, path, description, json_read_cb, json_fin_cb, (void **)pjb)) {
msg_err ("cannot add map %s", path);
return FALSE;
}