summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/chunk.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdisk/chunk.c')
-rw-r--r--lib/libdisk/chunk.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libdisk/chunk.c b/lib/libdisk/chunk.c
index 9dfcad0..07f5aef 100644
--- a/lib/libdisk/chunk.c
+++ b/lib/libdisk/chunk.c
@@ -286,9 +286,7 @@ Add_Chunk(struct disk *d, long offset, u_long size, const char *name,
if (platform == p_sparc64) {
offset = Prev_Cyl_Aligned(d, offset);
size = Next_Cyl_Aligned(d, size);
- break;
- }
- if (platform == p_i386) {
+ } else if (platform == p_i386) {
if (type != freebsd)
break;
if (!(flags & CHUNK_ALIGN))
@@ -320,6 +318,7 @@ Add_Chunk(struct disk *d, long offset, u_long size, const char *name,
/* Convert back to size */
size -= offset;
}
+ break;
/* PLATFORM POLICY END ------------------------------------- */
}
OpenPOWER on IntegriCloud