diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-05-21 20:44:12 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-05-21 20:44:12 +0200 |
commit | 5d037065f8d444d7866eef663d6a37901bc29433 (patch) | |
tree | 6efafce41f1bae27522334bc3a4e223beaeec12c | |
parent | 434cb7ca0ea80267700f84954f12733b0f34a968 (diff) | |
download | xine-lib-5d037065f8d444d7866eef663d6a37901bc29433.tar.gz xine-lib-5d037065f8d444d7866eef663d6a37901bc29433.tar.bz2 |
Fix typo that lead to crash.
-rw-r--r-- | src/xine-engine/load_plugins.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |