]> Git Repo - J-u-boot.git/commitdiff
sandbox: Fix a comment in os_find_u_boot()
authorSimon Glass <[email protected]>
Wed, 7 Aug 2024 22:47:20 +0000 (16:47 -0600)
committerTom Rini <[email protected]>
Fri, 9 Aug 2024 22:03:19 +0000 (16:03 -0600)
Fix a missing dot in a comment, since '..' is confusing.

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
arch/sandbox/cpu/os.c

index a04eb5aa18c66edbe870d66ba9df3d117e8cbbe7..da96ebe43c9214ddcfa63b84163f0ad3599ae620 100644 (file)
@@ -964,7 +964,7 @@ int os_find_u_boot(char *fname, int maxlen, bool use_img,
        p = strstr(fname, subdir);
        if (p) {
                if (*next_prefix)
-                       /* e.g. ".../tpl/u-boot-spl"  to "../spl/u-boot-spl" */
+                       /* e.g. ".../tpl/u-boot-spl"  to ".../spl/u-boot-spl" */
                        memcpy(p + 1, next_prefix, strlen(next_prefix));
                else
                        /* e.g. ".../spl/u-boot" to ".../u-boot" */
This page took 0.034756 seconds and 4 git commands to generate.