summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHungming Chen <nuccachen@google.com>2020-08-28 17:29:55 +0800
committerHungming Chen <nuccachen@google.com>2020-08-28 17:29:55 +0800
commit28b425295805f2912d967128cda751ffa1235d2b (patch)
tree77cb89287365073a3720f6aa170571210d4b97c3
parentd1e17720adb32c8934d945a02fc1283a5b6fda37 (diff)
downloadnative-28b425295805f2912d967128cda751ffa1235d2b.tar.gz
Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 162536543 Test: Build pass and boot Change-Id: I5bf4d71e822dd3136f3fd7fd69d9df47b57320f6
-rw-r--r--libs/binder/ProcessState.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp
index ce45b7f517..4f818366d1 100644
--- a/libs/binder/ProcessState.cpp
+++ b/libs/binder/ProcessState.cpp
@@ -160,8 +160,8 @@ bool ProcessState::becomeContextManager(context_check_func checkFunc, void* user
if (result != 0) {
android_errorWriteLog(0x534e4554, "121035042");
- int dummy = 0;
- result = ioctl(mDriverFD, BINDER_SET_CONTEXT_MGR, &dummy);
+ int unused = 0;
+ result = ioctl(mDriverFD, BINDER_SET_CONTEXT_MGR, &unused);
}
if (result == -1) {