summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/cpu/os.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-11-23 21:29:24 -0700
committerSimon Glass <sjg@chromium.org>2018-12-05 06:01:34 -0700
commit6b5e420137b42f3c23669b07a7b0c6ff5502fcb9 (patch)
treec2d28c89c1fcf8408c10fcda09243468613849eb /arch/sandbox/cpu/os.c
parent2e2a2a5d4f0c2e2642326d9000ce1f1553632e6a (diff)
downloadu-boot-6b5e420137b42f3c23669b07a7b0c6ff5502fcb9.tar.gz
u-boot-6b5e420137b42f3c23669b07a7b0c6ff5502fcb9.tar.xz
u-boot-6b5e420137b42f3c23669b07a7b0c6ff5502fcb9.zip
sandbox: Fix up the debug message for the image filename
This currently prints out the wrong filename. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/cpu/os.c')
-rw-r--r--arch/sandbox/cpu/os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c
index 62e05c554a..a8d01e4001 100644
--- a/arch/sandbox/cpu/os.c
+++ b/arch/sandbox/cpu/os.c
@@ -668,7 +668,7 @@ static int os_jump_to_file(const char *fname)
os_free(argv);
if (err) {
perror("Unable to run image");
- printf("Image filename '%s'\n", mem_fname);
+ printf("Image filename '%s'\n", fname);
return err;
}