summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/probing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index 8167e0b9d..4f912a86b 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -485,7 +485,7 @@ static void find_media(enum media_bus bus)
fd = open("/proc/scsi/scsi", O_RDONLY);
if (fd != -1) {
FILE * f;
- char buf[512];
+ char buf[2048];
enum { SCSI_TOP, SCSI_HOST, SCSI_VENDOR, SCSI_TYPE } state = SCSI_TOP;
char * start, * chptr, * next, * end;