From: Heinrich Schuchardt Date: Fri, 25 Dec 2020 15:04:26 +0000 (+0100) Subject: sandbox: fix sandbox_cmdline_cb_test_fdt() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=b680c5539a4b29889a2d248aaa2c14e2669046fd;p=u-boot.git sandbox: fix sandbox_cmdline_cb_test_fdt() fmt does not foresee any parameter. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c index 2d18d9debc..2542580974 100644 --- a/arch/sandbox/cpu/start.c +++ b/arch/sandbox/cpu/start.c @@ -215,7 +215,7 @@ static int sandbox_cmdline_cb_test_fdt(struct sandbox_state *state, if (!p) p = fname + strlen(fname); len -= p - fname; - snprintf(p, len, fmt, p); + snprintf(p, len, fmt); state->fdt_fname = fname; return 0;