Message ID | 20201225150426.85498-1-xypron.glpk@gmx.de |
---|---|
State | Accepted |
Commit | b680c5539a4b29889a2d248aaa2c14e2669046fd |
Delegated to: | Simon Glass |
Headers | show |
Series | [1/1] sandbox: fix sandbox_cmdline_cb_test_fdt() | expand |
On Fri, 25 Dec 2020 at 08:04, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote: > > fmt does not foresee any parameter. > > Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> > --- > arch/sandbox/cpu/start.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass <sjg@chromium.org>
On Fri, 25 Dec 2020 at 08:04, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote: > > fmt does not foresee any parameter. > > Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> > --- > arch/sandbox/cpu/start.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass <sjg@chromium.org> Applied to u-boot-dm, thanks!
diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c index f6c98545e0..6d27f13875 100644 --- a/arch/sandbox/cpu/start.c +++ b/arch/sandbox/cpu/start.c @@ -213,7 +213,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;
fmt does not foresee any parameter. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> --- arch/sandbox/cpu/start.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.29.2