diff options
Diffstat (limited to 'lib/libdisk')
-rw-r--r-- | lib/libdisk/create_chunk.c | 8 |
1 files changed, 4 insertions, 4 deletions
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++) { |