diff --git a/src/core/plugin.c b/src/core/plugin.c
index d4bf1bd78b3dee2c1eb5e5c610e5a5bc5620dd84..20fe61cd523dfe6db6229e3996e332a13cc7ca5e 100644 (file)
--- a/src/core/plugin.c
+++ b/src/core/plugin.c
static sdb_plugin_info_t plugin_default_info = SDB_PLUGIN_INFO_INIT;
static pthread_key_t plugin_ctx_key;
-static _Bool plugin_ctx_key_initialized = 0;
+static bool plugin_ctx_key_initialized = 0;
/* a list of the plugin contexts of all registered plugins */
static sdb_llist_t *all_plugins = NULL;
sdb_llist_iter_t *iter;
int ret = -1;
- _Bool logged = 0;
+ bool logged = 0;
if (! msg)
return 0;
plugin = SDB_PLUGIN_CB(sdb_llist_search_by_name(ts_fetcher_list, type));
if (! plugin) {
sdb_log(SDB_LOG_ERR, "core: Cannot fetch time-series of type %s: "
- "no such plugin loaded");
+ "no such plugin loaded", type);
errno = ENOENT;
return NULL;
}