mirror of
https://github.com/troglobit/finit.git
synced 2026-10-27 12:20:54 +00:00
Use explicit plugin names to prevent subtle macro processing bugs
This commit is contained in:
1 parent
4ce810cc1f
commit
662293e194
16 files changed
+25
-24
No files matched your search
+2
-2
@@ -43,7 +43,7 @@ static void setup(void *arg)
|
||||
glob_t gl;
|
||||
|
||||
if (rescue) {
|
||||
dbg("Skipping %s plugin in rescue mode.", __FILE__);
|
||||
dbg("Skipping %s plugin in rescue mode.", "procps");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ static void setup(void *arg)
|
||||
}
|
||||
|
||||
static plugin_t plugin = {
|
||||
.name = __FILE__,
|
||||
.name = "procps",
|
||||
.hook[HOOK_BASEFS_UP] = {
|
||||
.cb = setup
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user