diff --git a/src/plugins/syslog.c b/src/plugins/syslog.c
index a4875215055361dbdd950f01e74a7737654dc699..02c62414b6856cd7003c1fd677f312007826b1ce 100644 (file)
--- a/src/plugins/syslog.c
+++ b/src/plugins/syslog.c
int
sdb_module_init(sdb_plugin_info_t *info)
{
- sdb_plugin_set_info(info, SDB_PLUGIN_INFO_NAME, "syslog");
sdb_plugin_set_info(info, SDB_PLUGIN_INFO_DESC,
"log messages to the system logger");
sdb_plugin_set_info(info, SDB_PLUGIN_INFO_COPYRIGHT,
sdb_plugin_set_info(info, SDB_PLUGIN_INFO_VERSION, SDB_VERSION);
sdb_plugin_set_info(info, SDB_PLUGIN_INFO_PLUGIN_VERSION, SDB_VERSION);
- sdb_plugin_register_init("syslog", sdb_syslog_init, NULL);
- sdb_plugin_register_log("syslog", sdb_syslog_log, NULL);
- sdb_plugin_register_shutdown("syslog", sdb_syslog_shutdown, NULL);
+ sdb_plugin_register_init("main", sdb_syslog_init, NULL);
+ sdb_plugin_register_log("main", sdb_syslog_log, NULL);
+ sdb_plugin_register_shutdown("main", sdb_syslog_shutdown, NULL);
return 0;
} /* sdb_module_init */