* commit '709543a96836be5f1c10e4051ec6207dec72cd08': toolbox: Fix date tool with /dev/alarm
This commit is contained in:
commit
e3cd216888
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ static int settime_alarm(struct timespec *ts) {
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
return fd;
|
return fd;
|
||||||
|
|
||||||
ret = ioctl(fd, ANDROID_ALARM_SET_RTC, &ts);
|
ret = ioctl(fd, ANDROID_ALARM_SET_RTC, ts);
|
||||||
close(fd);
|
close(fd);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue