Skip to content
Snippets Groups Projects
Commit d327a224 authored by Jacopo Mondi's avatar Jacopo Mondi Committed by Linus Walleij
Browse files

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: default avatarJacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent a3c12952
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment