diff options
Diffstat (limited to 'lib/libdisk/create_chunk.c')
-rw-r--r-- | lib/libdisk/create_chunk.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c index bc0acb0..7a7fdb4 100644 --- a/lib/libdisk/create_chunk.c +++ b/lib/libdisk/create_chunk.c @@ -101,6 +101,7 @@ Fixup_FreeBSD_Names(struct disk *d, struct chunk *c) return 0; } +#ifndef PC98 static int Fixup_Extended_Names(struct disk *d, struct chunk *c) { @@ -119,6 +120,7 @@ Fixup_Extended_Names(struct disk *d, struct chunk *c) } return 0; } +#endif int Fixup_Names(struct disk *d) @@ -131,7 +133,6 @@ Fixup_Names(struct disk *d) c1 = d->chunks; for(c2 = c1->part; c2 ; c2 = c2->next) { - c2->flags &= ~CHUNK_BSD_COMPAT; if (c2->type == unused) continue; if (strcmp(c2->name, "X")) @@ -159,12 +160,6 @@ Fixup_Names(struct disk *d) #endif /*__i386__*/ } for(c2 = c1->part; c2; c2 = c2->next) { - if (c2->type == freebsd) { - c2->flags |= CHUNK_BSD_COMPAT; - break; - } - } - for(c2 = c1->part; c2; c2 = c2->next) { if (c2->type == freebsd) Fixup_FreeBSD_Names(d, c2); #ifndef PC98 |