aboutsummaryrefslogtreecommitdiff
path: root/sbin/bsdlabel/bsdlabel.c
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2003-06-04 02:01:05 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2003-06-04 02:01:05 +0000
commitc9192519e48e08530e6cdf1e121776f5f88e21df (patch)
treee0e335fde5ac4c5d9a807e4a2c33fc6c2933d1dc /sbin/bsdlabel/bsdlabel.c
parent330462a315795834a06fb1683b7a360c5fef3089 (diff)
downloadsrc-c9192519e48e08530e6cdf1e121776f5f88e21df.tar.gz
src-c9192519e48e08530e6cdf1e121776f5f88e21df.zip
Unbreak ia64. 'nuff said.
Notes
Notes: svn path=/head/; revision=115794
Diffstat (limited to 'sbin/bsdlabel/bsdlabel.c')
-rw-r--r--sbin/bsdlabel/bsdlabel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c
index 56b5176dc33c..97e5e3218489 100644
--- a/sbin/bsdlabel/bsdlabel.c
+++ b/sbin/bsdlabel/bsdlabel.c
@@ -176,6 +176,10 @@ main(int argc, char *argv[])
labeloffset = 64;
bbsize = 8192;
alphacksum = 1;
+ } else if (!strcmp(optarg, "ia64")) {
+ labeloffset = 512;
+ bbsize = 8192;
+ alphacksum = 0;
} else {
errx(1, "Unsupported architecture");
}