summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-06-17 07:47:10 +0000
committerOlivier Blin <oblin@mandriva.org>2004-06-17 07:47:10 +0000
commitacfb20ec24ce43116c2b48731cb126731d0e7e87 (patch)
tree8f6a46d6612ccc8ce094642a3db5225a6c194198 /mdk-stage1
parent091bbbdd32025d366bd5fb161b43aae18175bc97 (diff)
downloaddrakx-backup-do-not-use-acfb20ec24ce43116c2b48731cb126731d0e7e87.tar
drakx-backup-do-not-use-acfb20ec24ce43116c2b48731cb126731d0e7e87.tar.gz
drakx-backup-do-not-use-acfb20ec24ce43116c2b48731cb126731d0e7e87.tar.bz2
drakx-backup-do-not-use-acfb20ec24ce43116c2b48731cb126731d0e7e87.tar.xz
drakx-backup-do-not-use-acfb20ec24ce43116c2b48731cb126731d0e7e87.zip
enlarge your scsi buffer (previous size wasn't enough with more than one scsi device, fixed thanks to nplanel)
Diffstat (limited to 'mdk-stage1')
-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;