aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2006-08-09 08:24:46 +0000
committerXin LI <delphij@FreeBSD.org>2006-08-09 08:24:46 +0000
commit88af688c34a6ad087299c0e5306f7da6a2554d73 (patch)
treefa7f96d80a445321a037a8db72ea7a2fff62ee26
parent7b8fadf879f33909a9ff3695e4a519010a112a9a (diff)
Notes
-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 a6eb6e748e09..ef39f74951a8 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