sandbox: fix sandbox_cmdline_cb_test_fdt()

fmt does not foresee any parameter.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Heinrich Schuchardt 2020-12-25 16:04:26 +01:00 committed by Simon Glass
parent a0df924928
commit b680c5539a

View file

@ -215,7 +215,7 @@ static int sandbox_cmdline_cb_test_fdt(struct sandbox_state *state,
if (!p) if (!p)
p = fname + strlen(fname); p = fname + strlen(fname);
len -= p - fname; len -= p - fname;
snprintf(p, len, fmt, p); snprintf(p, len, fmt);
state->fdt_fname = fname; state->fdt_fname = fname;
return 0; return 0;