summaryrefslogtreecommitdiffstats
path: root/tools/gpio/lsgpio.c
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo+renesas@jmondi.org>2017-09-28 15:01:44 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-10-07 00:03:14 +0200
commitd327a224ba2cbe234d82fd560ff8e5bb38b0bb4b (patch)
treedbc2c02afc0944051f97c219c915c34f81768abe /tools/gpio/lsgpio.c
parenta3c1295280c8ac0823d0cac06f88a53928781a37 (diff)
downloadlinux-d327a224ba2cbe234d82fd560ff8e5bb38b0bb4b.tar.gz
linux-d327a224ba2cbe234d82fd560ff8e5bb38b0bb4b.tar.bz2
linux-d327a224ba2cbe234d82fd560ff8e5bb38b0bb4b.zip
tools: gpio: Print error string on IOCTL failures
Add to error messages the error description by concatenating output of strerror() function to error messages print out by gpio-utils.c on IOCTL failures. Rationalize error messages, while at there, making all of them look the same. Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/gpio/lsgpio.c')
0 files changed, 0 insertions, 0 deletions