compositor: Fix buggy snprintf that sets module path
authorChad Versace <chad.versace@linux.intel.com>
Thu, 24 May 2012 06:42:15 +0000 (23:42 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Sat, 26 May 2012 03:05:44 +0000 (23:05 -0400)
commitbf381907449862230c6ace4f0a2b543641a2af48
tree1936e7a8107736bbc7ee2361c5d191a8a2323cea
parent629ce23bd0defe1db240e0f3bab63d5f564bc1be
compositor: Fix buggy snprintf that sets module path

If the MODULEDIR string contains '%', then
    snprintf(path, sizeof(path), MODULEDIR "/%s", name);
does not do what you want.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/compositor.c