eject: -T fix
This commit is contained in:
parent
de59c0f58f
commit
000b9ba91f
3 changed files with 24 additions and 22 deletions
|
@ -73,10 +73,10 @@ int rdate_main(int argc, char **argv)
|
|||
|
||||
time(¤t_time);
|
||||
if (current_time == remote_time)
|
||||
bb_error_msg("Current time matches remote time.");
|
||||
bb_error_msg("current time matches remote time");
|
||||
else
|
||||
if (stime(&remote_time) < 0)
|
||||
bb_perror_msg_and_die("Could not set time of day");
|
||||
bb_perror_msg_and_die("cannot set time of day");
|
||||
}
|
||||
|
||||
if ((flags & 1) == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue