diff options
author | Horst Kronstorfer <hkronsto@frequentis.com> | 2011-12-24 00:41:58 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-01-05 15:36:44 (GMT) |
commit | 72ebafbe2bd5044eecbfdaa132390a1421db25be (patch) | |
tree | 9a5e40782cdf1cc63f6cd65c6024076aa3476a49 | |
parent | 6f403bad80224b9cfc5c97cb2ac1b608d1777d0d (diff) | |
download | u-boot-72ebafbe2bd5044eecbfdaa132390a1421db25be.tar.xz |
tools/mkenvimage.c: Fix a merge issue
With bfcc40bb09b05c90cc3b1496abb270eb8aa72134 'optopt' was reverted.
Signed-off-by: Horst Kronstorfer <hkronsto@frequentis.com>
-rw-r--r-- | tools/mkenvimage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index c5ed373..8ee2bd0 100644 --- a/tools/mkenvimage.c +++ b/tools/mkenvimage.c @@ -122,11 +122,11 @@ int main(int argc, char **argv) return EXIT_SUCCESS; case ':': fprintf(stderr, "Missing argument for option -%c\n", - option); + optopt); usage(argv[0]); return EXIT_FAILURE; default: - fprintf(stderr, "Wrong option -%c\n", option); + fprintf(stderr, "Wrong option -%c\n", optopt); usage(prg); return EXIT_FAILURE; } |