Use explicit plugin names to prevent subtle macro processing bugs

This commit is contained in:
bazub committed 2026-03-06 20:36:23 +00:00
1 parent 4ce810cc1f
commit 662293e194
16 files changed
+25 -24

No files matched your search

+1 -1
View File
@@ -335,7 +335,7 @@ static void pidfile_init(void *arg)
* SIGSTP:ed (in state PAUSED) waiting for <net/iface/lo>.
*/
static plugin_t plugin = {
.name = __FILE__,
.name = "pidfile",
.hook[HOOK_BASEFS_UP] = { .cb = pidfile_init },
.hook[HOOK_SVC_RECONF] = { .cb = pidfile_reconf },
.depends = { "netlink" }, /* bootmisc depends on us */