diff options
author | marcel <marcel@FreeBSD.org> | 2002-11-11 04:46:39 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2002-11-11 04:46:39 +0000 |
commit | 8c44e1c3f9177a8442c00fad854cfda6db6d220a (patch) | |
tree | 6de87c56e7a4bc64baf4999414ed159d592d4565 /lib/libdisk | |
parent | 017042d4f5067609c24b42d4d2fd6611b80f7711 (diff) | |
download | FreeBSD-src-8c44e1c3f9177a8442c00fad854cfda6db6d220a.zip FreeBSD-src-8c44e1c3f9177a8442c00fad854cfda6db6d220a.tar.gz |
MBR slices are named the same on ia64 as they are on i386.
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++) { |