http://bugs.gentoo.org/120245 BE fix =================================================================== RCS file: /cvsroot/linux-udf/udftools/mkudffs/mkudffs.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- linux-udf/udftools/mkudffs/mkudffs.c 2004/02/23 03:35:33 1.3 +++ linux-udf/udftools/mkudffs/mkudffs.c 2004/03/02 02:09:39 1.4 @@ -250,14 +250,14 @@ if (size % offsets[PSPACE_SIZE]) size -= (size % offsets[PSPACE_SIZE]); set_extent(disc, PSPACE, start, size); - for (i=0; iudf_lvd[0]->numPartitionMaps; i++) + for (i=0; iudf_lvd[0]->numPartitionMaps); i++) { if (i == 1) disc->udf_lvid->freeSpaceTable[i] = cpu_to_le32(0xFFFFFFFF); else disc->udf_lvid->freeSpaceTable[i] = cpu_to_le32(size); } - for (j=0; judf_lvd[0]->numPartitionMaps; j++) + for (j=0; judf_lvd[0]->numPartitionMaps); j++) { if (j == 1) disc->udf_lvid->sizeTable[i+j] = cpu_to_le32(0xFFFFFFFF);