d72b8ef7d3
Check errno rather than err and drop negation.
Change-Id: I1804d67292c3b054eab8fc077c8e9b22a8cdcc9f
[ROCm/ROCR-Runtime commit: 5e3983cb93]