diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-12-25 16:04:26 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-01-30 14:25:41 -0700 |
commit | b680c5539a4b29889a2d248aaa2c14e2669046fd (patch) | |
tree | 421e07770de875e2abe964d5b71a9657f4f3bacb /arch/sandbox/cpu | |
parent | a0df924928906b9da095dcbfa63dd5503e3ac3df (diff) | |
download | u-boot-b680c5539a4b29889a2d248aaa2c14e2669046fd.tar.gz |
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>
Diffstat (limited to 'arch/sandbox/cpu')
-rw-r--r-- | arch/sandbox/cpu/start.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |