Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f922380f authored by Benoit Goby's avatar Benoit Goby Committed by Android Git Automerger
Browse files

am 58c4a7dd: am e3cd2168: am 709543a9: am 08a140e6: Merge "toolbox: Fix date tool with /dev/alarm"

* commit '58c4a7dd':
  toolbox: Fix date tool with /dev/alarm
parents 4a3a0edc 58c4a7dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;
}
}