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>
Loading
Please register or sign in to comment