summaryrefslogtreecommitdiff
path: root/libs/binder/IShellCallback.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/binder/IShellCallback.cpp')
-rw-r--r--libs/binder/IShellCallback.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/IShellCallback.cpp b/libs/binder/IShellCallback.cpp
index 23b83a6a0b..dd4a65ee84 100644
--- a/libs/binder/IShellCallback.cpp
+++ b/libs/binder/IShellCallback.cpp
@@ -68,7 +68,7 @@ status_t BnShellCallback::onTransact(
String16 seLinuxContext(data.readString16());
String16 mode(data.readString16());
int fd = openFile(path, seLinuxContext, mode);
- if (reply != NULL) {
+ if (reply != nullptr) {
reply->writeNoException();
if (fd >= 0) {
reply->writeInt32(1);