diff options
author | Benoit Goby <benoit@android.com> | 2014-01-09 18:59:23 -0800 |
---|---|---|
committer | Benoit Goby <benoit@android.com> | 2014-01-09 18:59:23 -0800 |
commit | d340734cd76c4d270c24f640c6a65d3f6218e46f (patch) | |
tree | d61deed280b8469ede462029f83a8d41c6bb1f68 /toolbox | |
parent | 6e25786914d5f8c50040471c8b1a950d2efb32a1 (diff) | |
download | system_core-d340734cd76c4d270c24f640c6a65d3f6218e46f.zip system_core-d340734cd76c4d270c24f640c6a65d3f6218e46f.tar.gz system_core-d340734cd76c4d270c24f640c6a65d3f6218e46f.tar.bz2 |
toolbox: Fix date tool with /dev/alarm
Change-Id: I6f8ad2149244c89690d5d5caae8ec55429462210
Signed-off-by: Benoit Goby <benoit@android.com>
Diffstat (limited to 'toolbox')
-rw-r--r-- | toolbox/date.c | 2 |
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; } |