From a93b38a98814d24b1e96b2e0ff69b9644a2bb40b Mon Sep 17 00:00:00 2001 From: delphij Date: Wed, 9 Aug 2006 08:24:46 +0000 Subject: Unbreak sparc64 build. Reported by: tinderbox --- usr.sbin/sade/disks.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/sade') diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c index a6eb6e7..ef39f74 100644 --- a/usr.sbin/sade/disks.c +++ b/usr.sbin/sade/disks.c @@ -74,7 +74,7 @@ static struct chunk *chunk_info[CHUNK_INFO_ENTRIES]; static int current_chunk; static void diskPartitionNonInteractive(Device *dev); -#if defined(__i386__) || defined(__amd64__) /* only meaningful on x86 */ +#if !defined(__ia64__) static u_char * bootalloc(char *name, size_t *size); #endif @@ -716,7 +716,7 @@ diskPartition(Device *dev) } #endif /* WITH_SLICES */ -#if defined(__i386__) || defined(__amd64__) /* only meaningful on x86 */ +#if !defined(__ia64__) static u_char * bootalloc(char *name, size_t *size) { @@ -749,7 +749,7 @@ bootalloc(char *name, size_t *size) msgDebug("bootalloc: can't stat %s\n", buf); return NULL; } -#endif /* __i386__ || __amd64 */ +#endif /* !__ia64__ */ #ifdef WITH_SLICES static int -- cgit v1.1