Untested alpha disk writer.

This commit is contained in:
Poul-Henning Kamp 2002-10-30 20:54:22 +00:00
parent ae59d02e12
commit 89a0742e57
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106223

View File

@ -96,7 +96,7 @@ Write_Disk(const struct disk *d1)
memcpy(work, dp, sizeof work);
dp = work;
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 (!strcmp(c1->name, "X")) continue;
if (c1->type == freebsd)