From 20ebc42a34fdd5170f5a36c6b7ee34805f9b5755 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 28 Dec 2003 01:30:31 +0000 Subject: Oops, highly non-KNF indentation is normal for large expressions in this program. Gnu indentation is used for these. Redo the fix for the large expression at the end of the previous commit to give gnu indentation. The original version was gnuish but had 9 bogus extra characters of indentation in its continuation lines, perfect tab lossage on every line, and other bugs. The previous commit log should have claimed to fix style bugs in the previous-1 commit (1.5), not the forced null previous commit (1.6). --- sbin/fsck_msdosfs/check.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'sbin/fsck_msdosfs') diff --git a/sbin/fsck_msdosfs/check.c b/sbin/fsck_msdosfs/check.c index 149f261..16de7c7 100644 --- a/sbin/fsck_msdosfs/check.c +++ b/sbin/fsck_msdosfs/check.c @@ -229,12 +229,11 @@ checkdirty(int fs, struct bootblock *boot) goto err; } - if (buffer[0] == boot->Media && buffer[1] == 0xff && - buffer[2] == 0xff && - ((boot->ClustMask == CLUST16_MASK && buffer[3] == 0x7f) || - (boot->ClustMask == CLUST32_MASK && buffer[3] == 0x0f && - buffer[4] == 0xff && buffer[5] == 0xff && buffer[6] == 0xff && - buffer[7] == 0x07))) + if (buffer[0] == boot->Media && buffer[1] == 0xff && buffer[2] == 0xff + && ((boot->ClustMask == CLUST16_MASK && buffer[3] == 0x7f) + || (boot->ClustMask == CLUST32_MASK && buffer[3] == 0x0f + && buffer[4] == 0xff && buffer[5] == 0xff + && buffer[6] == 0xff && buffer[7] == 0x07))) ret = 0; else ret = 1; -- cgit v1.1