From acfb20ec24ce43116c2b48731cb126731d0e7e87 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 17 Jun 2004 07:47:10 +0000 Subject: enlarge your scsi buffer (previous size wasn't enough with more than one scsi device, fixed thanks to nplanel) --- mdk-stage1/probing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1