diff options
| author | Simon Glass <[email protected]> | 2024-08-07 16:47:20 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-08-09 16:03:19 -0600 |
| commit | d9f1b00bc7f6145dd9f2951dd2dc140a4b0a5472 (patch) | |
| tree | a47724fafd5452b0081991ac0130e8419d1efa9c | |
| parent | 46ef4e82200fcfdf156fc2374ffd3c8aa19dee79 (diff) | |
sandbox: Fix a comment in os_find_u_boot()
Fix a missing dot in a comment, since '..' is confusing.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
| -rw-r--r-- | arch/sandbox/cpu/os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c index a04eb5aa18c..da96ebe43c9 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" */ |
