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

2012-03-26 Thread Anatolij Gustschin
Hello Wolfgang, On Fri, 2 Mar 2012 08:19:40 +0100 Wolfgang Denk 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 > --- > tools/mkenv

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

2012-03-02 Thread Mike Frysinger
On Friday 02 March 2012 02:19:40 Wolfgang Denk wrote: > Don;t use argv[0] for usage() because it may or may not be clobbered Don't > by the previous call to basename(). Use "prg" instead as it is done > in the rest of the code. Acked-by: Mike Frysinger -mike signature.asc Description: This i

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

2012-03-01 Thread Wolfgang Denk
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 --- tools/mkenvimage.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/m