diff options
author | Matt Wilson <msw@redhat.com> | 1999-04-26 17:16:27 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-04-26 17:16:27 +0000 |
commit | e10f96ca5dab2f8064fda403722671ab93fd034d (patch) | |
tree | 9db5e1ea6e49093da5f2a9f4a957814da56604c0 /balkan | |
parent | 034d2960a3f8a33071f8f810f48ec88e10920452 (diff) | |
download | anaconda-e10f96ca5dab2f8064fda403722671ab93fd034d.tar.gz anaconda-e10f96ca5dab2f8064fda403722671ab93fd034d.tar.xz anaconda-e10f96ca5dab2f8064fda403722671ab93fd034d.zip |
we start numbering at 0 for the partitions, so extended starts at 4
Diffstat (limited to 'balkan')
-rw-r--r-- | balkan/dos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/balkan/dos.c b/balkan/dos.c index e37a53f69..687756489 100644 --- a/balkan/dos.c +++ b/balkan/dos.c @@ -91,10 +91,10 @@ static int readNextTable(int fd, struct partitionTable * table, int nextNum, gotExtended = 1; if (sectorOffset) - rc = readNextTable(fd, table, nextNum > 5 ? nextNum : 5, + rc = readNextTable(fd, table, nextNum > 4 ? nextNum : 4, singleTable.parts[i].start, sectorOffset); else - rc = readNextTable(fd, table, nextNum > 5 ? nextNum : 5, + rc = readNextTable(fd, table, nextNum > 4 ? nextNum : 4, 0, singleTable.parts[i].start); if (rc) return rc; |