pidfile: Make sure to set a default name for plugin

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2017-01-16 01:02:16 +01:00
parent 0b5888ed22
commit 57181264e9
+1
View File
@@ -135,6 +135,7 @@ static struct context pidfile_ctx;
* so the bootmisc plugin must run first.
*/
static plugin_t plugin = {
.name = __FILE__,
.hook[HOOK_BASEFS_UP] = { .arg = &pidfile_ctx, .cb = pidfile_init },
.hook[HOOK_SVC_RECONF] = { .cb = pidfile_reconf },
.io = {