i2cdump: display the numeric value for block read ioctl() errors
authorBartosz Golaszewski <bartekgola@gmail.com>
Tue, 27 Oct 2015 16:15:05 +0000 (17:15 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 1 Nov 2015 19:55:10 +0000 (20:55 +0100)
commit5ed6989d805535804fcd05ddc777fbae48d21f3a
tree3a0467badbd64afecacb63c931651db9597234ca
parent74bb9d5e63b0928ceac57fedd4a2d383129ade7d
i2cdump: display the numeric value for block read ioctl() errors

This makes busybox i2cdump compatible with the upstream version, which
also displays the numeric error value in case of a block read failure.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/i2c_tools.c