initPlugins: Fix dlopen error message.

This commit is contained in:
Shea Levy 2018-04-11 21:02:50 -04:00
parent e3cdcf89b0
commit dc0a542c9f
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27

View file

@ -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 */