From cd6881b519c94b15907d4f28149e5ed3fd0beea5 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Thu, 19 May 2011 22:21:41 +0200 Subject: Minor coding style cleanup. Signed-off-by: Wolfgang Denk --- common/cmd_led.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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) { -- cgit v1.1