summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2011-03-22 19:26:56 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2011-03-22 19:26:56 +0000
commitae558b4fc44f141c714079e901215802a35a1fac (patch)
tree50481568828e199ff38e0dbc6c4ceece042250e7 /sys
parent79f1d154da7c17f0f72a749df6910ab5fca0035b (diff)
Increase number of EBRs we can transit looking for the OpenBSD partition
to 256 from 8. 256 ought to be enough for anyone.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/disklabel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h
index 78e7739bea1..113d90a48cc 100644
--- a/sys/sys/disklabel.h
+++ b/sys/sys/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.49 2011/03/17 21:44:10 krw Exp $ */
+/* $OpenBSD: disklabel.h,v 1.50 2011/03/22 19:26:55 krw Exp $ */
/* $NetBSD: disklabel.h,v 1.41 1996/05/10 23:07:37 mark Exp $ */
/*
@@ -404,7 +404,7 @@ struct partinfo {
#define DOSMBR_SIGNATURE_OFF (0x1fe)
/* Maximum number of Extended Boot Records (EBRs) to traverse. */
-#define DOS_MAXEBR 8
+#define DOS_MAXEBR 256
struct dos_partition {
u_int8_t dp_flag; /* bootstrap flags */