From: Bartosz Golaszewski Date: Fri, 6 Jan 2017 15:44:56 +0000 (+0100) Subject: gpioget: remove a FIXME X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bc67797c24c71afc8fa00fe396e0d8e220c6c837;p=qemu-gpiodev%2Flibgpiod.git gpioget: remove a FIXME The user can't pass a negative number as argument anyway, as it's considered an unrecognized option by getopt. Signed-off-by: Bartosz Golaszewski --- diff --git a/gpioget.c b/gpioget.c index aa210c9..746c36f 100644 --- a/gpioget.c +++ b/gpioget.c @@ -71,7 +71,6 @@ int main(int argc, char **argv) die("gpio line offset must be specified"); device = argv[0]; - /* FIXME Handle negative numbers. */ offset = strtoul(argv[1], &end, 10); if (*end != '\0') die("invalid GPIO offset: %s", argv[1]);