summaryrefslogtreecommitdiff
path: root/cmd/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/gpio.c')
-rw-r--r--cmd/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gpio.c b/cmd/gpio.c
index ecdc453918..c60946bc06 100644
--- a/cmd/gpio.c
+++ b/cmd/gpio.c
@@ -213,7 +213,7 @@ static int do_gpio(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
}
gpio_direction_output(gpio, value);
}
- printf("gpio: pin %s (gpio %i) value is ", str_gpio, gpio);
+ printf("gpio: pin %s (gpio %u) value is ", str_gpio, gpio);
if (IS_ERR_VALUE(value))
printf("unknown (ret=%d)\n", value);
else