summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2018-11-25 17:01:21 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2018-11-25 17:01:21 +0000
commit2d0e820796befd94f0c4202222aaea792992f9c5 (patch)
tree123e5a5946b9fb980c023617bce9651aed5692e3 /sbin
parent52f7637d0423eb91835d15a8249952994ccd9714 (diff)
FS_BOOT partitions are just partitions. Not free(ish) space.
ok deraadt@ as part of larger diff
Diffstat (limited to 'sbin')
-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];
}