mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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:
parent
5cdf6a132b
commit
7e1cecfd0f
1 changed files with 5 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue