summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpefo <pefo@openbsd.org>1996-09-21 10:48:47 +0000
committerpefo <pefo@openbsd.org>1996-09-21 10:48:47 +0000
commitc5426bd83d35c919ee754f0c7d0817691af74e06 (patch)
tree1c50bdca91eb607af542bbdeb1e3aab3bc970702
parentDocument BOOT_CONFIG kernel option. -moj (diff)
downloadwireguard-openbsd-c5426bd83d35c919ee754f0c7d0817691af74e06.tar.xz
wireguard-openbsd-c5426bd83d35c919ee754f0c7d0817691af74e06.zip
Disklabel on ARC has moved to sector 1 offset 0! BEWARE!
-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