summaryrefslogtreecommitdiffstats
path: root/toolbox/date.c
diff options
context:
space:
mode:
authorBenoit Goby <benoit@android.com>2014-01-10 03:43:29 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-01-10 03:43:29 +0000
commitf922380f9ab3fcb0f1ac27c85bbb2dd394f8d2a5 (patch)
tree86bf0ac4e39caf9e4ef567f310a2fa07ce3e779d /toolbox/date.c
parent4a3a0edce1d548c03fb18a012d90ce929a41ceb9 (diff)
parent58c4a7ddf227bd6977677f4c8046eab6376477b3 (diff)
downloadsystem_core-f922380f9ab3fcb0f1ac27c85bbb2dd394f8d2a5.zip
system_core-f922380f9ab3fcb0f1ac27c85bbb2dd394f8d2a5.tar.gz
system_core-f922380f9ab3fcb0f1ac27c85bbb2dd394f8d2a5.tar.bz2
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
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;
}