X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fconfigfile.c;h=f9c20fc3116bed1f2f8a54b8fa87c4dc77da4a19;hb=03576db7496264c5e7054e6cc765db0beea4a0da;hp=9609086feca391d0e6c097c03eeef3e7207a5b74;hpb=fd9c88963b04c9e9050a952ba0f018493e8b7638;p=collectd.git diff --git a/src/configfile.c b/src/configfile.c index 9609086f..f9c20fc3 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -276,7 +276,7 @@ static int dispatch_value_plugin (const char *plugin, oconfig_item_t *ci) buffer_ptr = buffer + 1; return (cf_dispatch (plugin, ci->key, buffer_ptr)); -} /* int plugin_conf_dispatch */ +} /* int dispatch_value_plugin */ static int dispatch_value (const oconfig_item_t *ci) { @@ -891,7 +891,7 @@ int cf_read (char *filename) /* Read the default types.db if no `TypesDB' option was given. */ if (cf_default_typesdb) - read_types_list (PLUGINDIR"/types.db"); + read_types_list (PKGDATADIR"/types.db"); return (0); } /* int cf_read */