summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/tools.c')
-rw-r--r--mdk-stage1/tools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index db4b847e9..84c53a2d6 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -347,7 +347,7 @@ void add_to_env(char * name, char * value)
char ** list_directory(char * direct)
{
- char * tmp[500];
+ char * tmp[50000]; /* in /dev there can be many many files.. */
int i = 0;
struct dirent *ep;
DIR *dp = opendir(direct);