summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1998-07-11 22:42:57 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1998-07-11 22:42:57 +0000
commitd45831b3809ce9cc295e4d0807a196a301aaec0e (patch)
tree47a6445e81413f45cd9ca607957673984201087a /sbin
parentac089744d73b9b400aef9aae55dd8cef1dd74468 (diff)
MAXPARTITIONS are only 8 for amiga; all others have 16.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/disklabel/disklabel.58
1 files changed, 6 insertions, 2 deletions
diff --git a/sbin/disklabel/disklabel.5 b/sbin/disklabel/disklabel.5
index 72e74ca7f37..9f84dd18984 100644
--- a/sbin/disklabel/disklabel.5
+++ b/sbin/disklabel/disklabel.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: disklabel.5,v 1.2 1996/06/23 14:30:04 deraadt Exp $
+.\" $OpenBSD: disklabel.5,v 1.3 1998/07/11 22:42:56 angelos Exp $
.\" $NetBSD: disklabel.5,v 1.3 1995/03/18 14:54:36 cgd Exp $
.\"
.\" Copyright (c) 1987, 1991, 1993
@@ -130,7 +130,11 @@ is
#define DISKMAGIC ((u_long) 0x82564557) /* The disk magic number */
#ifndef MAXPARTITIONS
-#define MAXPARTITIONS 8
+#if amiga
+#define MAXPARTITIONS 8
+#else
+#define MAXPARTITIONS 16
+#endif
#endif
#ifndef LOCORE