Use explicit plugin names to prevent subtle macro processing bugs

This commit is contained in:
bazub
2026-03-06 20:36:23 +00:00
parent 4ce810cc1f
commit 662293e194
16 changed files with 25 additions and 24 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ static void hscript_shutdown(void *arg)
}
static plugin_t plugin = {
.name = __FILE__,
.name = "hook-scripts",
.hook[HOOK_BANNER] = { .cb = hscript_banner },
.hook[HOOK_ROOTFS_UP] = { .cb = hscript_rootfs_up },
.hook[HOOK_MOUNT_ERROR] = { .cb = hscript_mount_error },