am 58c4a7dd: am e3cd2168: am 709543a9: am 08a140e6: Merge "toolbox: Fix date tool with /dev/alarm"
* commit '58c4a7ddf227bd6977677f4c8046eab6376477b3': toolbox: Fix date tool with /dev/alarm
This commit is contained in:
commit
f922380f9a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue