diff options
author | Matt Wilson <msw@redhat.com> | 2001-02-28 06:33:30 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-02-28 06:33:30 +0000 |
commit | f7ebcff60d81bfd1b2817f27c9ff901b4d0e64fc (patch) | |
tree | fab0b40055219150af2b5d48078dddd5b41fff78 /isys | |
parent | d0da903ec4620cde7f7f6a23e3e10d178220355d (diff) | |
download | anaconda-f7ebcff60d81bfd1b2817f27c9ff901b4d0e64fc.tar.gz anaconda-f7ebcff60d81bfd1b2817f27c9ff901b4d0e64fc.tar.xz anaconda-f7ebcff60d81bfd1b2817f27c9ff901b4d0e64fc.zip |
throw out extended partitions
Diffstat (limited to 'isys')
-rw-r--r-- | isys/probe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isys/probe.c b/isys/probe.c index 336b7dba2..69e334665 100644 --- a/isys/probe.c +++ b/isys/probe.c @@ -573,12 +573,12 @@ static int I2OGetDevices(struct knownDevices * devices) { start++; } ctl[i] = '\0'; - /* We don't want partitions just the disks ! */ if (i < 1) { free (buf); return 1; } - if ( !isdigit(ctl[i-2]) ){ + /* We don't want partitions just the disks ! */ + if ( !isdigit(ctl[i-1]) ){ if (!deviceKnown(devices, ctl)) { newDevice.name = strdup(ctl); newDevice.model = strdup("I2O Block Device"); |