fix build failure when long opts are enabled
This commit is contained in:
parent
6b160e490d
commit
ea915363e7
@ -132,7 +132,6 @@ int rtcwake_main(int argc, char **argv)
|
|||||||
"time\0" Required_argument "t"
|
"time\0" Required_argument "t"
|
||||||
;
|
;
|
||||||
applet_long_options = rtcwake_longopts;
|
applet_long_options = rtcwake_longopts;
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
opt = getopt32(argv, "alud:m:s:t:", &rtcname, &suspend, &opt_seconds, &opt_time);
|
opt = getopt32(argv, "alud:m:s:t:", &rtcname, &suspend, &opt_seconds, &opt_time);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user