[U-Boot] [PATCH] mkenvimage: fix usage message

Anatolij Gustschin agust at denx.de
Mon Mar 26 13:24:45 CEST 2012


Hello Wolfgang,

On Fri,  2 Mar 2012 08:19:40 +0100
Wolfgang Denk <wd at denx.de> wrote:

> Don;t use argv[0] for usage() because it may or may not be clobbered
> by the previous call to basename().  Use "prg" instead as it is done
> in the rest of the code.
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  tools/mkenvimage.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied to u-boot-staging.

Thanks,
Anatolij


More information about the U-Boot mailing list