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>
This commit is contained in:
Simon Glass 2018-11-23 21:29:24 -07:00
parent 2e2a2a5d4f
commit 6b5e420137

View file

@ -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;
}