compositor: Fix warning in load_module

dev
Benjamin Franzke 14 years ago
parent f2de6c7ba0
commit b7acce60e2
  1. 2
      compositor/compositor.c

@ -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…
Cancel
Save