mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-08-17 10:46:16 -04:00
tools/mkenvimage.c: Fix a merge issue
With bfcc40bb09b05c90cc3b1496abb270eb8aa72134 'optopt' was reverted. Signed-off-by: Horst Kronstorfer <hkronsto@frequentis.com>
This commit is contained in:
parent
6f403bad80
commit
72ebafbe2b
@ -122,11 +122,11 @@ int main(int argc, char **argv)
|
|||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
case ':':
|
case ':':
|
||||||
fprintf(stderr, "Missing argument for option -%c\n",
|
fprintf(stderr, "Missing argument for option -%c\n",
|
||||||
option);
|
optopt);
|
||||||
usage(argv[0]);
|
usage(argv[0]);
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
default:
|
default:
|
||||||
fprintf(stderr, "Wrong option -%c\n", option);
|
fprintf(stderr, "Wrong option -%c\n", optopt);
|
||||||
usage(prg);
|
usage(prg);
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user