From bc67797c24c71afc8fa00fe396e0d8e220c6c837 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Fri, 6 Jan 2017 16:44:56 +0100 Subject: [PATCH] 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 --- gpioget.c | 1 - 1 file changed, 1 deletion(-) 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]); -- 2.30.2