X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=second%2Fpartition.c;h=d20a0ede652c08a37494cd323146c59396541b71;hp=9a7fe7394b683e2e8113852c8a105c4ae3a189f3;hb=1f0f86b8e9cb113674bec055c2d0f182a28a5bd2;hpb=082b8310e3f92ea8da0b7011549bd86c9fd4ce95 diff --git a/second/partition.c b/second/partition.c index 9a7fe73..d20a0ed 100644 --- a/second/partition.c +++ b/second/partition.c @@ -287,7 +287,7 @@ partition_amiga_lookup( const char *dev_name, prom_handle disk, for (i=0; i < possible; i++) used[i] = 0; - for (part = amiga_block[AMIGA_PARTITIONS], partition = 0; + for (part = amiga_block[AMIGA_PARTITIONS], partition = 1; part != AMIGA_END; part = amiga_block[AMIGA_PART_NEXT], partition++) {