diff options
author | Tom Cherry <tomcherry@google.com> | 2018-11-30 16:16:05 -0800 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2018-12-12 17:08:09 +0000 |
commit | 23319ebebf6bda3b7aa085656ac5784534a4a574 (patch) | |
tree | 70f578e4ab28c4cc31ae9b7d90ed49839eeca2a3 /libcutils/partition_utils.cpp | |
parent | e610ad619ed61e7c989e652516a66fc5548e3ac0 (diff) |
Start using new C++ Fstab class widely
Bug: 62292478
Test: boot
Test: adb-remount-test.sh
Change-Id: Id4715af4c1f03e2cfc67de92d3ea58e933685e51
Diffstat (limited to 'libcutils/partition_utils.cpp')
-rw-r--r-- | libcutils/partition_utils.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libcutils/partition_utils.cpp b/libcutils/partition_utils.cpp index 2211ff6ad..b8405595c 100644 --- a/libcutils/partition_utils.cpp +++ b/libcutils/partition_utils.cpp @@ -39,8 +39,7 @@ static int only_one_char(uint8_t *buf, int len, uint8_t c) return ret; } -int partition_wiped(char *source) -{ +int partition_wiped(const char* source) { uint8_t buf[4096]; int fd, ret; @@ -67,4 +66,3 @@ int partition_wiped(char *source) return 0; } - |