diff options
author | Wolfgang Denk | 2011-05-19 22:21:41 +0200 |
---|---|---|
committer | Wolfgang Denk | 2011-05-19 22:22:44 +0200 |
commit | cd6881b519c94b15907d4f28149e5ed3fd0beea5 (patch) | |
tree | 8a5dc395495cbaa422b1b6dc8193e2e9963d576b /common/cmd_led.c | |
parent | 4d69e98c068ed0d3533a61b64fe06d0d1b870aaf (diff) |
Minor coding style cleanup.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'common/cmd_led.c')
-rw-r--r-- | common/cmd_led.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_led.c b/common/cmd_led.c index f1e8a62cb63..c53195f1a36 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) { |