aboutsummaryrefslogtreecommitdiff
path: root/sbin/bsdlabel/bsdlabel.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-06-04 05:25:04 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-06-04 05:25:04 +0000
commit8c401bb94d5ca0011ca7df09f6f8c8fd51bc9d25 (patch)
tree252d4a68ef44521e0d2586f5ba2bbefbae4141b1 /sbin/bsdlabel/bsdlabel.c
parentd422eae9e88c342ff3dada9c0f2b475f7673a9bd (diff)
downloadsrc-8c401bb94d5ca0011ca7df09f6f8c8fd51bc9d25.tar.gz
src-8c401bb94d5ca0011ca7df09f6f8c8fd51bc9d25.zip
Give ia64 the exact same semantics as i386 with respect to non-512
byte sector devices.
Notes
Notes: svn path=/head/; revision=115809
Diffstat (limited to 'sbin/bsdlabel/bsdlabel.c')
-rw-r--r--sbin/bsdlabel/bsdlabel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c
index 97e5e3218489..34ccc8807439 100644
--- a/sbin/bsdlabel/bsdlabel.c
+++ b/sbin/bsdlabel/bsdlabel.c
@@ -177,7 +177,8 @@ main(int argc, char *argv[])
bbsize = 8192;
alphacksum = 1;
} else if (!strcmp(optarg, "ia64")) {
- labeloffset = 512;
+ labelsoffset = 1;
+ labeloffset = 0;
bbsize = 8192;
alphacksum = 0;
} else {