toolbox: Fix date tool with /dev/alarm

Change-Id: I6f8ad2149244c89690d5d5caae8ec55429462210
Signed-off-by: Benoit Goby <benoit@android.com>
This commit is contained in:
Benoit Goby 2014-01-09 18:59:23 -08:00
parent 6e25786914
commit d340734cd7

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