summaryrefslogtreecommitdiffstats
path: root/common/cmd_bedbug.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_bedbug.c')
-rw-r--r--common/cmd_bedbug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_bedbug.c b/common/cmd_bedbug.c
index 94f7e0847b..3e597f9820 100644
--- a/common/cmd_bedbug.c
+++ b/common/cmd_bedbug.c
@@ -218,7 +218,7 @@ void bedbug_main_loop (unsigned long addr, struct pt_regs *regs)
int flag; /* Command flags */
int rc = 0; /* Result from run_command */
char prompt_str[20]; /* Prompt string */
- static char lastcommand[CFG_CBSIZE] = { 0 }; /* previous command */
+ static char lastcommand[CONFIG_SYS_CBSIZE] = { 0 }; /* previous command */
/* -------------------------------------------------- */
if (bug_ctx.clear)
OpenPOWER on IntegriCloud