From: Simon Glass Date: Wed, 7 Aug 2024 22:47:20 +0000 (-0600) Subject: sandbox: Fix a comment in os_find_u_boot() X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=d9f1b00bc7f6145dd9f2951dd2dc140a4b0a5472;p=u-boot.git sandbox: Fix a comment in os_find_u_boot() Fix a missing dot in a comment, since '..' is confusing. Signed-off-by: Simon Glass Reviewed-by: Mattijs Korpershoek --- diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c index a04eb5aa18..da96ebe43c 100644 --- a/arch/sandbox/cpu/os.c +++ b/arch/sandbox/cpu/os.c @@ -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" */