summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/disklabel/editor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c
index caff7b58089..cd42f69bafe 100644
--- a/sbin/disklabel/editor.c
+++ b/sbin/disklabel/editor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: editor.c,v 1.351 2018/09/21 14:07:34 solene Exp $ */
+/* $OpenBSD: editor.c,v 1.352 2018/11/25 17:01:20 krw Exp $ */
/*
* Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -1443,7 +1443,6 @@ sort_partitions(struct disklabel *lp)
for (npartitions = 0, i = 0; i < lp->d_npartitions; i++) {
if (lp->d_partitions[i].p_fstype != FS_UNUSED &&
- lp->d_partitions[i].p_fstype != FS_BOOT &&
DL_GETPSIZE(&lp->d_partitions[i]) != 0)
spp[npartitions++] = &lp->d_partitions[i];
}