From e10f96ca5dab2f8064fda403722671ab93fd034d Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Mon, 26 Apr 1999 17:16:27 +0000 Subject: we start numbering at 0 for the partitions, so extended starts at 4 --- balkan/dos.c | 4 ++-- 1 file 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; -- cgit