diff options
-rw-r--r-- | lib/libdisk/write_alpha_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdisk/write_alpha_disk.c b/lib/libdisk/write_alpha_disk.c index c63850a..5c22f87 100644 --- a/lib/libdisk/write_alpha_disk.c +++ b/lib/libdisk/write_alpha_disk.c @@ -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) |