os/os-qnx: fix overwrite of 'errno'
authorJens Axboe <axboe@kernel.dk>
Fri, 12 Jul 2024 16:52:33 +0000 (10:52 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 12 Jul 2024 16:52:33 +0000 (10:52 -0600)
commit2cb0841a1452f34a20ffe8fc1821b305f10b3f63
tree60867938bed7864a1fd9c724de46aedad49e694c
parentd64a2d8075c7e5bd733ab42be9601e53f3b63119
os/os-qnx: fix overwrite of 'errno'

You can't call perror() and expect errno to retain the same value,
it'll be zero after that. On top of that, there's no reason to
print the error here, the higher up layers will do that when an error
is returned.

Fixes: 946733c6f19c ("Support QNX OS platform")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
os/os-qnx.h