change the hardcoded error constant (0x80000000UL) to a nice flexible define (BB_GETOPT_ERROR)
This commit is contained in:
@ -208,7 +208,7 @@ static const struct option hwclock_long_options[] = {
|
||||
bb_opt_complementaly = "r~ws:w~rs:s~wr:l~u:u~l";
|
||||
opt = bb_getopt_ulflags(argc, argv, "lursw");
|
||||
/* Check only one mode was given */
|
||||
if(opt & 0x80000000UL) {
|
||||
if(opt & BB_GETOPT_ERROR) {
|
||||
bb_show_usage();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user