Merge "toolbox: Fix date tool with /dev/alarm"

This commit is contained in:
Benoit Goby 2014-01-10 03:31:56 +00:00 committed by Gerrit Code Review
commit 08a140e6a3

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;
}