[U-Boot] [PATCH 2/4] mkenvimage: Fix getopt() error handling

Wolfgang Denk wd at denx.de
Tue Dec 20 23:51:51 CET 2011


Dear Horst Kronstorfer,

In message <1323082526-2125-2-git-send-email-hkronsto at frequentis.com> you wrote:
> Since the original implementation indicates explicit error handling
> we turn off getopt()'s internal error messaging to avoid duplicate
> error messages.  Additionally we add ':' (missing option argument)
> error handling.
> 
> Signed-off-by: Horst Kronstorfer <hkronsto at frequentis.com>
> ---
>  tools/mkenvimage.c |   12 ++++++++++--
>  1 files changed, 10 insertions(+), 2 deletions(-)

Applied to "next" branch, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Whom the gods would destroy, they first teach BASIC.


More information about the U-Boot mailing list