mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 07:16:04 +09:00
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>
This commit is contained in:
parent
1c52fcca72
commit
185756ec0f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user