mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
Change dead code in "test" cmd to debug output
Improve debug output for test by indicating the number of parameters and quoting the parameters to make it clear exactly what each contains Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
93d7212fa6
commit
b0fe6abd71
1 changed files with 3 additions and 3 deletions
|
@ -33,12 +33,12 @@ int do_test(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
|||
if (argc < 3)
|
||||
return 1;
|
||||
|
||||
#if 0
|
||||
#ifdef DEBUG
|
||||
{
|
||||
printf("test:");
|
||||
debug("test(%d):", argc);
|
||||
left = 1;
|
||||
while (argv[left])
|
||||
printf(" %s", argv[left++]);
|
||||
debug(" '%s'", argv[left++]);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue