summaryrefslogtreecommitdiff
path: root/common/cmd_led.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_led.c')
-rw-r--r--common/cmd_led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_led.c b/common/cmd_led.c
index f1e8a62..c53195f 100644
--- a/common/cmd_led.c
+++ b/common/cmd_led.c
@@ -96,7 +96,7 @@ int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
}
for (i = 0; led_commands[i].string; i++) {
- if ((strcmp("all", argv[1]) == 0) ||
+ if ((strcmp("all", argv[1]) == 0) ||
(strcmp(led_commands[i].string, argv[1]) == 0)) {
if (led_commands[i].on) {
if (state) {