Commit f4731c5
committed
btrfs-progs: fix conditions order when parsing scrub status line
As reported (cppcheck), the conditions are reversed as we first need to
check the limit and only then access the data.
Issue: #1030
Signed-off-by: David Sterba <[email protected]>1 parent 8e9c6b5 commit f4731c5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
666 | | - | |
| 666 | + | |
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
| |||
0 commit comments