[PATCH] cmd: fs: document where 'size' stores its result

Simon Glass sjg at chromium.org
Mon May 8 23:23:14 CEST 2023


On Sun, 7 May 2023 at 04:48, Baruch Siach <baruch at tkos.co.il> wrote:
>
> Make it a little bit easier for the user to utilize the 'size' command.
>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> ---
>  cmd/fs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


> diff --git a/cmd/fs.c b/cmd/fs.c
> index 5ad11647c2d3..6044f73af5b4 100644
> --- a/cmd/fs.c
> +++ b/cmd/fs.c
> @@ -20,7 +20,7 @@ U_BOOT_CMD(
>         "determine a file's size",
>         "<interface> <dev[:part]> <filename>\n"
>         "    - Find file 'filename' from 'dev' on 'interface'\n"
> -       "      and determine its size."
> +       "      determine its size, and store in the 'filesize' variable."
>  );
>
>  static int do_load_wrapper(struct cmd_tbl *cmdtp, int flag, int argc,
> --
> 2.39.2
>


More information about the U-Boot mailing list