Code

plugin: Added missing argument to sdb_log() call.
authorSebastian Harl <sh@tokkee.org>
Fri, 22 Aug 2014 05:17:23 +0000 (22:17 -0700)
committerSebastian Harl <sh@tokkee.org>
Fri, 22 Aug 2014 05:17:23 +0000 (22:17 -0700)
src/core/plugin.c

index d4bf1bd78b3dee2c1eb5e5c610e5a5bc5620dd84..79df55e589ee967a4cf9e4819d4cada6c29dfae0 100644 (file)
@@ -1226,7 +1226,7 @@ sdb_plugin_fetch_timeseries(const char *type, const char *id,
        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: "
        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;
        }
                errno = ENOENT;
                return NULL;
        }