mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-07-23 15:27:52 +00:00
Rename run_command() to builtin_run_command()
The current run_command() is only one of the parsing options - the other is hush. We should not call run_command() when the hush parser is being used. So we rename this function to better explain its purpose. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
79714c1e26
commit
f47360a74e
9 changed files with 14 additions and 13 deletions
|
@ -237,7 +237,7 @@ void bedbug_main_loop (unsigned long addr, struct pt_regs *regs)
|
|||
if (len == -1)
|
||||
printf ("<INTERRUPT>\n");
|
||||
else
|
||||
rc = run_command (lastcommand, flag);
|
||||
rc = builtin_run_command(lastcommand, flag);
|
||||
|
||||
if (rc <= 0) {
|
||||
/* invalid command or not repeatable, forget it */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue