summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2006-08-09 08:24:46 +0000
committerdelphij <delphij@FreeBSD.org>2006-08-09 08:24:46 +0000
commita93b38a98814d24b1e96b2e0ff69b9644a2bb40b (patch)
treefa7f96d80a445321a037a8db72ea7a2fff62ee26 /usr.sbin/sade
parent451dea5920e331501b8fcf10ecf095decbd9255e (diff)
downloadFreeBSD-src-a93b38a98814d24b1e96b2e0ff69b9644a2bb40b.zip
FreeBSD-src-a93b38a98814d24b1e96b2e0ff69b9644a2bb40b.tar.gz
Unbreak sparc64 build.
Reported by: tinderbox
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r--usr.sbin/sade/disks.c6
1 files changed, 3 insertions, 3 deletions
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
OpenPOWER on IntegriCloud