mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-29 07:33:29 +08:00
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:
parent
a0df924928
commit
b680c5539a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user