aboutsummaryrefslogtreecommitdiff
path: root/tests/fs-tests/simple/perf.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-10 15:12:58 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-11-10 15:30:04 +0100
commitef4241da48a95f0a90cbe79f0d0f7d7f2887c40c (patch)
tree261ec18ebfe3f71d842a92112c5b68827f82e39d /tests/fs-tests/simple/perf.c
parentc64eea6eac7fd4c48fcf8e64636765a1f4e4e03b (diff)
jittertest: fix error check for open system call
The value 0 is a valid file descriptor. The existing error handling would not only treat that as an error, but subsequently leak the file descriptor in the error handling path. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/fs-tests/simple/perf.c')
0 files changed, 0 insertions, 0 deletions