commit | 0068da6a9355fae96549f9f50289648971cd64cd | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Feb 03 15:44:16 2015 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Feb 03 15:44:16 2015 -0800 |
tree | 7cae7246573de9431b92ed4c027b583fe904087f | |
parent | e44d25d64537f4ea2abcb56aabc7a5bf0731c222 [diff] [blame] |
android_reboot should take a const char*. The kernel argument is actually a void*, but it's only read from. Change-Id: I305c50249bf12b7fbdea4721257aed52a0372f8d
diff --git a/libcutils/android_reboot.c b/libcutils/android_reboot.c index aa86206..6ae23c1 100644 --- a/libcutils/android_reboot.c +++ b/libcutils/android_reboot.c
@@ -89,7 +89,7 @@ } -int android_reboot(int cmd, int flags UNUSED, char *arg) +int android_reboot(int cmd, int flags UNUSED, const char *arg) { int ret;