]> git.baikalelectronics.ru Git - uboot.git/commitdiff
sandbox: Fix up the debug message for the image filename
authorSimon Glass <sjg@chromium.org>
Sat, 24 Nov 2018 04:29:24 +0000 (21:29 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2018 13:01:34 +0000 (06:01 -0700)
This currently prints out the wrong filename. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/os.c

index 62e05c554a15e53c4c18e8596ad6066f5c3a7b0d..a8d01e40011ac1d3119b5a3afe611597ab60e434 100644 (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;
        }