mirror of
https://github.com/troglobit/finit.git
synced 2026-11-07 16:01:08 +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
@@ -39,7 +39,7 @@
|
||||
static void setup(void *arg)
|
||||
{
|
||||
if (rescue) {
|
||||
dbg("Skipping %s plugin in rescue mode.", __FILE__);
|
||||
dbg("Skipping %s plugin in rescue mode.", "x11-common");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ static void setup(void *arg)
|
||||
}
|
||||
|
||||
static plugin_t plugin = {
|
||||
.name = __FILE__,
|
||||
.name = "x11-common",
|
||||
.hook[HOOK_SVC_PLUGIN] = { .cb = setup },
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user