am 08a140e6: Merge "toolbox: Fix date tool with /dev/alarm"

* commit '08a140e6a3989ece3854014123dac243cc372886':
  toolbox: Fix date tool with /dev/alarm
This commit is contained in:
Benoit Goby 2014-01-09 19:37:31 -08:00 committed by Android Git Automerger
commit 709543a968

View file

@ -16,7 +16,7 @@ static int settime_alarm(struct timespec *ts) {
if (fd < 0)
return fd;
ret = ioctl(fd, ANDROID_ALARM_SET_RTC, &ts);
ret = ioctl(fd, ANDROID_ALARM_SET_RTC, ts);
close(fd);
return ret;
}