From: Simon Glass Date: Sat, 6 Feb 2021 16:57:35 +0000 (-0700) Subject: bootm: Fix duplicate debugging in bootm_process_cmdline() X-Git-Tag: v2025.01-rc5-pxa1908~1941^2~13^2~11 X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=185756ec0f4a2c3238c6031c022c97c520992994;p=u-boot.git 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 --- diff --git a/common/bootm.c b/common/bootm.c index defaed8426..dab7c3619f 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;