summaryrefslogtreecommitdiffstats
path: root/src/bsd.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2015-04-14 07:50:19 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2015-04-14 07:50:19 +0200
commit125e0241dff3acf8afc765195f09a393fd55f7cd (patch)
treed4646c9ba21991940490bcb36d7374d5c7c6f8a0 /src/bsd.h
parent67054372873f2ed5414da7fff1cb5744148289d6 (diff)
src/bsd.h: OpenBSD partition may contain more slices than FreeBSD one
Diffstat (limited to 'src/bsd.h')
-rw-r--r--src/bsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bsd.h b/src/bsd.h
index 5739b12..1a14807 100644
--- a/src/bsd.h
+++ b/src/bsd.h
@@ -149,7 +149,7 @@ struct disklabel {
} __partition_u1;
#define p_cpg __partition_u1.cpg
#define p_sgs __partition_u1.sgs
- } d_partitions[BSD_MAXPARTITIONS]; /* actually may be more */
+ } d_partitions[OPENBSD_MAXPARTITIONS]; /* actually may be more */
};
#define TST_FS_UNUSED 0 /* unused */
#define TST_FS_SWAP 1 /* swap */