mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 17:16:15 +02:00
initPlugins: Fix dlopen error message.
This commit is contained in:
parent
e3cdcf89b0
commit
dc0a542c9f
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ void initPlugins()
|
||||||
void *handle =
|
void *handle =
|
||||||
dlopen(file.c_str(), RTLD_LAZY | RTLD_LOCAL);
|
dlopen(file.c_str(), RTLD_LAZY | RTLD_LOCAL);
|
||||||
if (!handle)
|
if (!handle)
|
||||||
throw Error("could not dynamically open plugin file '%s%': %s%", file, dlerror());
|
throw Error("could not dynamically open plugin file '%s': %s", file, dlerror());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* We handle settings registrations here, since plugins can add settings */
|
/* We handle settings registrations here, since plugins can add settings */
|
||||||
|
|
Loading…
Reference in a new issue