summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Planel <nplanel@mandriva.com>2004-06-24 03:24:43 +0000
committerNicolas Planel <nplanel@mandriva.com>2004-06-24 03:24:43 +0000
commit0fba25050a152b426a249c06adaea0c61de13fe8 (patch)
treed721782a8898c3737fdd523953d92c6115007c71
parent98849cc4d519b8ddf44afda9e5eed89c440ed942 (diff)
downloaddrakx-0fba25050a152b426a249c06adaea0c61de13fe8.tar
drakx-0fba25050a152b426a249c06adaea0c61de13fe8.tar.gz
drakx-0fba25050a152b426a249c06adaea0c61de13fe8.tar.bz2
drakx-0fba25050a152b426a249c06adaea0c61de13fe8.tar.xz
drakx-0fba25050a152b426a249c06adaea0c61de13fe8.zip
don't redefine buf for /proc/scsi/scsi (size 5000 instead of 2048)
-rw-r--r--mdk-stage1/probing.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index 4f912a86b..aed9862c4 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -485,7 +485,6 @@ static void find_media(enum media_bus bus)
fd = open("/proc/scsi/scsi", O_RDONLY);
if (fd != -1) {
FILE * f;
- char buf[2048];
enum { SCSI_TOP, SCSI_HOST, SCSI_VENDOR, SCSI_TYPE } state = SCSI_TOP;
char * start, * chptr, * next, * end;