[U-Boot] [PATCH 01/21] sandbox: Fix up the debug message for the image filename

Simon Glass sjg at chromium.org
Sat Nov 24 04:29:24 UTC 2018


This currently prints out the wrong filename. Fix it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/sandbox/cpu/os.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c
index aa926943427..58d9a46263e 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;
 	}
 
-- 
2.20.0.rc0.387.gc7a69e6b6c-goog



More information about the U-Boot mailing list