summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/menus.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2006-08-08 14:28:03 +0000
committerdelphij <delphij@FreeBSD.org>2006-08-08 14:28:03 +0000
commit9587fe5a7f8b7de319a422a48e57f95f3443919c (patch)
treeb6692e4917e73a20e82c1a0f16005d3bf243248c /usr.sbin/sade/menus.c
parentae2f8ae4be9332bd1024da5ecc4d2e3a86015f3b (diff)
downloadFreeBSD-src-9587fe5a7f8b7de319a422a48e57f95f3443919c.zip
FreeBSD-src-9587fe5a7f8b7de319a422a48e57f95f3443919c.tar.gz
Partitions are only meaningful for i386 and amd64 architectures, so disable
these code on other architectures.
Diffstat (limited to 'usr.sbin/sade/menus.c')
-rw-r--r--usr.sbin/sade/menus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/sade/menus.c b/usr.sbin/sade/menus.c
index a7178b4..e039fd2 100644
--- a/usr.sbin/sade/menus.c
+++ b/usr.sbin/sade/menus.c
@@ -63,7 +63,9 @@ DMenu MenuMain = {
"DISKUTIL",
"main",
{
+#ifdef WITH_SLICES
{ "1 Partition", "Managing disk partitions", NULL, diskPartitionEditor, NULL, NULL, 0, 0, 0, 0 },
+#endif
{ "2 Label", "Label allocated disk partitions", NULL, diskLabelEditor, NULL, NULL, 0, 0, 0, 0 },
{ NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0 }
},
OpenPOWER on IntegriCloud