mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 22:42:41 +01:00
initPlugins: Fix dlopen error message.
(cherry picked from commit dc0a542c9f)
This commit is contained in:
parent
b1ade66815
commit
b61ea7b24e
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ void initPlugins()
|
|||
void *handle =
|
||||
dlopen(file.c_str(), RTLD_LAZY | RTLD_LOCAL);
|
||||
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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue