summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/directory.c b/mdk-stage1/directory.c
index 9c467cc2c..3f0c4ed0a 100644
--- a/mdk-stage1/directory.c
+++ b/mdk-stage1/directory.c
@@ -33,9 +33,9 @@
char * extract_list_directory(char * direct)
{
char ** full = list_directory(direct);
- char tmp[2000] = "";
+ char tmp[20000] = "";
int i;
- for (i=0; i<5 ; i++) {
+ for (i=0; i<50 ; i++) {
if (!full || !*full)
break;
strcat(tmp, *full);