util/nvmutil: rhex(): fail if errno not zero
The code was only checking whether all of the bytes were read, but there are other errors that can be caught via errno. Enforce strict errno handling, when generating random numbers for command `setmac`.
Please register or sign in to comment