summaryrefslogtreecommitdiff
path: root/compositor
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-05-06 23:19:22 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-05-06 23:19:22 +0200
commitb7acce60e2d38f50f46385a8bcd9c199bc359716 (patch)
tree0f987c71af1183e3bc5b0016a838bffd30580286 /compositor
parentf2de6c7ba006f4db3379632a9b0895b17d0c0285 (diff)
compositor: Fix warning in load_module
Diffstat (limited to 'compositor')
-rw-r--r--compositor/compositor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compositor/compositor.c b/compositor/compositor.c
index e98ed3ee..6b83b26a 100644
--- a/compositor/compositor.c
+++ b/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) {