summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1996-09-21 10:48:48 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1996-09-21 10:48:48 +0000
commit0feb6c38a1d7ead0906b7b6ab08a63f42c2b3bf6 (patch)
treeefa31e0fd73cf673b8cf4820a02b5d18b60210f9 /sys
parentb5b124a8f050d0700a43bc830620939332bee4fe (diff)
Disklabel on ARC has moved to sector 1 offset 0! BEWARE!
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arc/include/disklabel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arc/include/disklabel.h b/sys/arch/arc/include/disklabel.h
index d02f56f5120..a663d271716 100644
--- a/sys/arch/arc/include/disklabel.h
+++ b/sys/arch/arc/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.2 1996/08/26 11:01:35 pefo Exp $ */
+/* $OpenBSD: disklabel.h,v 1.3 1996/09/21 10:48:47 pefo Exp $ */
/* $NetBSD: disklabel.h,v 1.2 1995/01/18 06:37:55 mellon Exp $ */
/*
@@ -34,8 +34,8 @@
#ifndef _MACHINE_DISKLABEL_H_
#define _MACHINE_DISKLABEL_H_
-#define LABELSECTOR 0 /* sector containing label */
-#define LABELOFFSET 64 /* offset of label in sector */
+#define LABELSECTOR 1 /* sector containing label */
+#define LABELOFFSET 0 /* offset of label in sector */
#define MAXPARTITIONS 16 /* number of partitions */
#define PARTITIONSHIFT 4 /* log2 */
#define PARTITIONMASK 0xf