diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-28 02:24:24 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-28 02:24:24 +0100 |
commit | 6b9f1633537e2ff06eb1a0741e4598a294f40fcb (patch) | |
tree | a13f4f3558c2988bc95b5a59c9996da64a0bd570 /util-linux/volume_id/unused_msdos.c | |
parent | 17323a6245597f16321e6bf99536ae9bb89c79cf (diff) | |
download | busybox-w32-6b9f1633537e2ff06eb1a0741e4598a294f40fcb.tar.gz busybox-w32-6b9f1633537e2ff06eb1a0741e4598a294f40fcb.tar.bz2 busybox-w32-6b9f1633537e2ff06eb1a0741e4598a294f40fcb.zip |
*: style fixes. no code changes (verified with objdump)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/volume_id/unused_msdos.c')
-rw-r--r-- | util-linux/volume_id/unused_msdos.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util-linux/volume_id/unused_msdos.c b/util-linux/volume_id/unused_msdos.c index ccec72c5e..65fb88501 100644 --- a/util-linux/volume_id/unused_msdos.c +++ b/util-linux/volume_id/unused_msdos.c | |||
@@ -73,9 +73,11 @@ int FAST_FUNC volume_id_probe_msdos_part_table(struct volume_id *id, uint64_t of | |||
73 | /* check flags on all entries for a valid partition table */ | 73 | /* check flags on all entries for a valid partition table */ |
74 | part = (struct msdos_partition_entry*) &buf[MSDOS_PARTTABLE_OFFSET]; | 74 | part = (struct msdos_partition_entry*) &buf[MSDOS_PARTTABLE_OFFSET]; |
75 | for (i = 0; i < 4; i++) { | 75 | for (i = 0; i < 4; i++) { |
76 | if (part[i].boot_ind != 0 && | 76 | if (part[i].boot_ind != 0 |
77 | part[i].boot_ind != 0x80) | 77 | && part[i].boot_ind != 0x80 |
78 | ) { | ||
78 | return -1; | 79 | return -1; |
80 | } | ||
79 | 81 | ||
80 | if (part[i].nr_sects != 0) | 82 | if (part[i].nr_sects != 0) |
81 | empty = 0; | 83 | empty = 0; |