summaryrefslogtreecommitdiffstats
path: root/toolbox/date.c
diff options
context:
space:
mode:
Diffstat (limited to 'toolbox/date.c')
-rw-r--r--toolbox/date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolbox/date.c b/toolbox/date.c
index ed307c0..d6c9052 100644
--- a/toolbox/date.c
+++ b/toolbox/date.c
@@ -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;
}