From: Simon Glass Date: Sat, 24 Nov 2018 04:29:24 +0000 (-0700) Subject: sandbox: Fix up the debug message for the image filename X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=6b5e420137b42f3c23669b07a7b0c6ff5502fcb9;p=u-boot.git sandbox: Fix up the debug message for the image filename This currently prints out the wrong filename. Fix it. Signed-off-by: Simon Glass --- 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; }