diff options
author | wdenk <wdenk> | 2004-02-23 20:48:38 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-02-23 20:48:38 +0000 |
commit | cd0a9de68b03e5a54fd2a08f44be318e4397be01 (patch) | |
tree | 161762b51f26b604823009e2bcc1c7b3105c6361 /common/cmd_itest.c | |
parent | 2d1a537d87727907bf4d888760cba4abc0b52ad3 (diff) |
* Patch by Laurent Mohin, 10 Feb 2004:
Fix buffer overflow in common/usb.c
* Patch by Tolunay Orkun, 10 Feb 2004:
Add support for Cogent CSB272 board
* Code cleanup
Diffstat (limited to 'common/cmd_itest.c')
-rw-r--r-- | common/cmd_itest.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/common/cmd_itest.c b/common/cmd_itest.c index 9e920c9bdc7..87260b02d60 100644 --- a/common/cmd_itest.c +++ b/common/cmd_itest.c @@ -12,7 +12,7 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License @@ -159,13 +159,13 @@ int binary_test (char *op, char *arg1, char *arg2, int w) /* command line interface to the shell test */ int do_itest ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[] ) { - int value, w; + int value, w; - /* Validate arguments */ - if ((argc != 4)){ + /* Validate arguments */ + if ((argc != 4)){ printf("Usage:\n%s\n", cmdtp->usage); - return 1; - } + return 1; + } /* Check for a data width specification. * Defaults to long (4) if no specification. @@ -192,6 +192,6 @@ int do_itest ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[] ) U_BOOT_CMD( itest, 4, 0, do_itest, - "itest - return true/false on integer compare\n", + "itest - return true/false on integer compare\n", "[.b, .w, .l, .s] [*]value1 <op> [*]value2\n" ); |