aboutsummaryrefslogtreecommitdiff
path: root/common/bootm.c
diff options
context:
space:
mode:
authorSimon Glass2021-02-06 09:57:35 -0700
committerTom Rini2021-03-02 15:53:37 -0500
commit185756ec0f4a2c3238c6031c022c97c520992994 (patch)
tree58697d58d2bad0f4a81fa839f5d98f3029e282b5 /common/bootm.c
parent1c52fcca72b9338c1dd205520a83d1a954d3316a (diff)
bootm: Fix duplicate debugging in bootm_process_cmdline()
These two returns use the same string so are not distinguishable with LOG_ERROR_RETURN. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/bootm.c')
-rw-r--r--common/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bootm.c b/common/bootm.c
index defaed8426d..dab7c3619fd 100644
--- a/common/bootm.c
+++ b/common/bootm.c
@@ -586,7 +586,7 @@ int bootm_process_cmdline(char *buf, int maxlen, int flags)
if (IS_ENABLED(CONFIG_BOOTARGS_SUBST) && (flags & BOOTM_CL_SUBST)) {
ret = process_subst(buf, maxlen);
if (ret)
- return log_msg_ret("silent", ret);
+ return log_msg_ret("subst", ret);
}
return 0;