From 28b425295805f2912d967128cda751ffa1235d2b Mon Sep 17 00:00:00 2001 From: Hungming Chen Date: Fri, 28 Aug 2020 17:29:55 +0800 Subject: 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 --- libs/binder/ProcessState.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/binder/ProcessState.cpp') 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) { -- cgit v1.2.3-59-g8ed1b