eject: -T fix

This commit is contained in:
Denis Vlasenko 2006-10-05 23:12:49 +00:00
parent de59c0f58f
commit 000b9ba91f
3 changed files with 24 additions and 22 deletions

View file

@ -73,10 +73,10 @@ int rdate_main(int argc, char **argv)
time(&current_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)