bb_opt_complementally for rdate applet. Add losed record to util-linux/Makefile.in for switch_root applet
This commit is contained in:
parent
aa87276bed
commit
ea97282af1
2 changed files with 4 additions and 4 deletions
|
@ -62,11 +62,10 @@ static time_t askremotedate(const char *host)
|
|||
int rdate_main(int argc, char **argv)
|
||||
{
|
||||
time_t remote_time;
|
||||
unsigned long flags;
|
||||
|
||||
unsigned long flags = bb_getopt_ulflags(argc, argv, "sp");
|
||||
|
||||
if (!flags || argc == optind)
|
||||
bb_show_usage();
|
||||
bb_opt_complementally = "-1";
|
||||
flags = bb_getopt_ulflags(argc, argv, "sp");
|
||||
|
||||
remote_time = askremotedate(argv[optind]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue