From 8ccfe4361cd7f765e2c05678bc41f8c4a492fcb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Sun, 10 Mar 2019 14:36:27 +0100 Subject: [PATCH] part_block: properly indent code Issue #3223. --- repos/os/src/server/part_block/mbr.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/repos/os/src/server/part_block/mbr.h b/repos/os/src/server/part_block/mbr.h index 082dd10d20..8c39d88784 100644 --- a/repos/os/src/server/part_block/mbr.h +++ b/repos/os/src/server/part_block/mbr.h @@ -95,21 +95,21 @@ struct Mbr_partition_table : public Block::Partition_table if (!(ebr->valid())) return; - /* The first record is the actual logical partition. The lba of this - * partition is relative to the lba of the current EBR */ - Partition_record *logical = &(ebr->_records[0]); - if (logical->valid() && nr < MAX_PARTITIONS) { - f(nr++, logical, lba); - } + /* The first record is the actual logical partition. The lba of this + * partition is relative to the lba of the current EBR */ + Partition_record *logical = &(ebr->_records[0]); + if (logical->valid() && nr < MAX_PARTITIONS) { + f(nr++, logical, lba); + } - /* - * the second record points to the next EBR - * (relative form this EBR) - */ - r = &(ebr->_records[1]); - lba += ebr->_records[1]._lba - last_lba; + /* + * the second record points to the next EBR + * (relative form this EBR) + */ + r = &(ebr->_records[1]); + lba += ebr->_records[1]._lba - last_lba; - last_lba = ebr->_records[1]._lba; + last_lba = ebr->_records[1]._lba; } while (r->valid()); }