mkenvimage: fix usage message
authorWolfgang Denk <wd@denx.de>
Thu, 1 Mar 2012 21:19:40 +0000 (21:19 +0000)
committerAnatolij Gustschin <agust@denx.de>
Mon, 26 Mar 2012 09:45:15 +0000 (11:45 +0200)
commite758a5c4a75eb0d29201422ffc97ef7d95a88df8
tree781393e9cb854f98463ca97a48dae7501cb4fdd4
parent656f4c653785eb3fac84796da5d3bc04c4918290
mkenvimage: fix usage message

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@denx.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
tools/mkenvimage.c