compositor: Fix warning in load_module
This commit is contained in:
parent
f2de6c7ba0
commit
b7acce60e2
@ -1883,7 +1883,7 @@ load_module(const char *name, const char *entrypoint, void **handle)
|
||||
if (name[0] != '/')
|
||||
snprintf(path, sizeof path, MODULEDIR "/%s", name);
|
||||
else
|
||||
snprintf(path, sizeof path, name);
|
||||
snprintf(path, sizeof path, "%s", name);
|
||||
|
||||
module = dlopen(path, RTLD_LAZY);
|
||||
if (!module) {
|
||||
|
Loading…
Reference in New Issue
Block a user