rtsol(8): Fix loop bug (aggressive-loop-optimizations)
authorJohn Marino <draco@marino.st>
Tue, 10 Feb 2015 21:15:00 +0000 (22:15 +0100)
committerJohn Marino <draco@marino.st>
Tue, 10 Feb 2015 21:15:00 +0000 (22:15 +0100)
commit1f8a8a66e45285a62691983936d453c541fbb15b
treeab0052ac225c1704d281de6b3f12b76c984e3d2e
parent959b14193d96ba91c14036a89881fcc01ee57f12
rtsol(8): Fix loop bug (aggressive-loop-optimizations)

The index was being checked for validity after the array was accessed,
putting the check first makes gcc 5.0 happy.
usr.sbin/rtsold/probe.c