Untested alpha disk writer.

This commit is contained in:
phk 2002-10-30 20:54:22 +00:00
parent 01d1bdfdb0
commit c925cf4a99

View File

@ -96,7 +96,7 @@ Write_Disk(const struct disk *d1)
memcpy(work, dp, sizeof work); memcpy(work, dp, sizeof work);
dp = work; dp = work;
free(mbr); free(mbr);
for (c1 = d1->chunks->part; c1; c1 = c1->next) { for (c1 = d1->chunks->part->part; c1; c1 = c1->next) {
if (c1->type == unused) continue; if (c1->type == unused) continue;
if (!strcmp(c1->name, "X")) continue; if (!strcmp(c1->name, "X")) continue;
if (c1->type == freebsd) if (c1->type == freebsd)