aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorSimon Glass2018-11-23 21:29:24 -0700
committerSimon Glass2018-12-05 06:01:34 -0700
commit6b5e420137b42f3c23669b07a7b0c6ff5502fcb9 (patch)
treec2d28c89c1fcf8408c10fcda09243468613849eb /arch/sandbox
parent2e2a2a5d4f0c2e2642326d9000ce1f1553632e6a (diff)
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')
-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 62e05c554a1..a8d01e40011 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;
}