diff options
author | Nicolas Planel <nplanel@mandriva.com> | 2004-06-24 03:24:43 +0000 |
---|---|---|
committer | Nicolas Planel <nplanel@mandriva.com> | 2004-06-24 03:24:43 +0000 |
commit | 0fba25050a152b426a249c06adaea0c61de13fe8 (patch) | |
tree | d721782a8898c3737fdd523953d92c6115007c71 /mdk-stage1 | |
parent | 98849cc4d519b8ddf44afda9e5eed89c440ed942 (diff) | |
download | drakx-backup-do-not-use-0fba25050a152b426a249c06adaea0c61de13fe8.tar drakx-backup-do-not-use-0fba25050a152b426a249c06adaea0c61de13fe8.tar.gz drakx-backup-do-not-use-0fba25050a152b426a249c06adaea0c61de13fe8.tar.bz2 drakx-backup-do-not-use-0fba25050a152b426a249c06adaea0c61de13fe8.tar.xz drakx-backup-do-not-use-0fba25050a152b426a249c06adaea0c61de13fe8.zip |
don't redefine buf for /proc/scsi/scsi (size 5000 instead of 2048)
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/probing.c | 1 |
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; |