]> git.ozlabs.org Git - yaboot.git/blobdiff - second/partition.c
Remove magic numbers in print_message_file
[yaboot.git] / second / partition.c
index 9a7fe7394b683e2e8113852c8a105c4ae3a189f3..d20a0ede652c08a37494cd323146c59396541b71 100644 (file)
@@ -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++)
        {