[PATCH 04/17] Increase MAX_FILES to 128
Sascha Hauer
s.hauer at pengutronix.de
Thu Apr 29 03:52:02 EDT 2010
I already hit the limit while doing DFU on a custom board. Increase the
value to a safe limit.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
include/stdio.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/stdio.h b/include/stdio.h
index cd1a913..d591b6a 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -49,7 +49,7 @@ int vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
#define stdin 0
#define stdout 1
#define stderr 2
-#define MAX_FILES 16
+#define MAX_FILES 128
void fprintf(int file, const char *fmt, ...);
int fputs(int file, const char *s);
--
1.7.0
More information about the barebox
mailing list