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

Commit d340734c authored by Benoit Goby's avatar Benoit Goby
Browse files

toolbox: Fix date tool with /dev/alarm



Change-Id: I6f8ad2149244c89690d5d5caae8ec55429462210
Signed-off-by: default avatarBenoit Goby <benoit@android.com>
parent 6e257869
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}