projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0df924
)
sandbox: fix sandbox_cmdline_cb_test_fdt()
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Fri, 25 Dec 2020 15:04:26 +0000
(16:04 +0100)
committer
Simon Glass
<sjg@chromium.org>
Sat, 30 Jan 2021 21:25:41 +0000
(14:25 -0700)
fmt does not foresee any parameter.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/start.c
patch
|
blob
|
history
diff --git
a/arch/sandbox/cpu/start.c
b/arch/sandbox/cpu/start.c
index
2d18d9d
..
2542580
100644
(file)
--- 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;