]> granicus.if.org Git - procps-ng/commit
0122-vmstat: getopt*() returns -1 when done, not EOF.
authorQualys Security Advisory <qsa@qualys.com>
Thu, 1 Jan 1970 00:00:00 +0000 (00:00 +0000)
committerCraig Small <csmall@enc.com.au>
Sat, 23 Jun 2018 11:59:14 +0000 (21:59 +1000)
commite37e4528d0f621b0d82e84e10a778200255cfbb9
tree71ca13e8a6f2b8df4d5ab4dba3fc810f897fc3af
parenteaec2d09771923aae5198e5631764f9f5e59752b
0122-vmstat: getopt*() returns -1 when done, not EOF.

Luckily, EOF is usually -1, but this is not guaranteed by the standard.

Signed-off-by: Craig Small <csmall@enc.com.au>
vmstat.c