From 8c44e1c3f9177a8442c00fad854cfda6db6d220a Mon Sep 17 00:00:00 2001 From: marcel Date: Mon, 11 Nov 2002 04:46:39 +0000 Subject: MBR slices are named the same on ia64 as they are on i386. --- lib/libdisk/create_chunk.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libdisk') diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c index 72c8e2b..7acb9b5 100644 --- a/lib/libdisk/create_chunk.c +++ b/lib/libdisk/create_chunk.c @@ -124,12 +124,12 @@ Fixup_Extended_Names(struct disk *d, struct chunk *c) int Fixup_Names(struct disk *d) - { +{ struct chunk *c1, *c2; - #ifdef __i386__ +#if defined(__i386__) || defined(__ia64__) struct chunk *c3; int j; - #endif +#endif c1 = d->chunks; for(c2 = c1->part; c2 ; c2 = c2->next) { @@ -137,7 +137,7 @@ Fixup_Names(struct disk *d) continue; if (strcmp(c2->name, "X")) continue; -#ifdef __i386__ +#if defined(__i386__) || defined(__ia64__) c2->oname = malloc(12); if(!c2->oname) return -1; for(j = 1; j <= NDOSPART; j++) { -- cgit v1.1