From: Darren S. <li...@yo...> - 2008-05-22 20:53:24
|
# HG changeset patch # User Darren Salt <li...@yo...> # Date 1211488492 -3600 # Node ID 67b640b11fb0b49bb8c1693f08a234d10ebdb288 # Parent 88324e02bf59dc489e2d733f67df63fab8548dbe # Parent 5e43d8397043a2358774db5f9f47f9fe87d8455e Merge. diff -r 67b640b11fb0b49bb8c1693f08a234d10ebdb288 -r 88324e02bf59dc489e2d733f67df63fab8548dbe src/xine-engine/load_plugins.c --- a/src/xine-engine/load_plugins.c Thu May 22 21:34:52 2008 +0100 +++ b/src/xine-engine/load_plugins.c Thu May 22 15:16:25 2008 +0100 @@ -558,7 +558,7 @@ static void collect_plugins(xine_t *this size_t path_len = strlen(path); size_t str_size = path_len * 2 + 2; /* +2 for '/' and '\0' */ char *str = malloc(str_size); - sprintf("%s/", path); + sprintf(str, "%s/", path); while ((pEntry = readdir (dir)) != NULL) { void *lib = NULL; |