diff options
-rw-r--r-- | cmd/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gpio.c b/cmd/gpio.c index 539e07ee07..53366f36e7 100644 --- a/cmd/gpio.c +++ b/cmd/gpio.c @@ -90,7 +90,7 @@ static int do_gpio_status(bool all, const char *gpio_name) banklen = bank_name ? strlen(bank_name) : 0; if (!gpio_name || !bank_name || - !strncmp(gpio_name, bank_name, banklen)) { + !strncasecmp(gpio_name, bank_name, banklen)) { const char *p = NULL; int offset; |