summaryrefslogtreecommitdiff
path: root/common/cmd_diag.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_diag.c')
-rw-r--r--common/cmd_diag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_diag.c b/common/cmd_diag.c
index 82d5ad31347..13d4225fb85 100644
--- a/common/cmd_diag.c
+++ b/common/cmd_diag.c
@@ -65,7 +65,7 @@ int do_diag (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
/***************************************************/
U_BOOT_CMD(
- diag, CFG_MAXARGS, 0, do_diag,
+ diag, CONFIG_SYS_MAXARGS, 0, do_diag,
"diag - perform board diagnostics\n",
" - print list of available tests\n"
"diag [test1 [test2]]\n"