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).
This commit is contained in:
Bruce Evans 2003-12-28 01:30:31 +00:00
parent 5cdf6a132b
commit 7e1cecfd0f

View file

@ -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;