From 5d037065f8d444d7866eef663d6a37901bc29433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 21 May 2008 20:44:12 +0200 Subject: Fix typo that lead to crash. --- src/xine-engine/load_plugins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index ef9a4acbc..a4047af4f 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -558,7 +558,7 @@ static void collect_plugins(xine_t *this, char *path){ 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; -- cgit v1.2.3