diff options
author | 2024-10-22 04:16:07 +0000 | |
---|---|---|
committer | 2024-10-22 04:16:07 +0000 | |
commit | b5963dc90bca2da04c357ea3ed0923e22ae6d544 (patch) | |
tree | b8668604b8739309f38fe40335b40826b44ec434 /libs/binder/RpcServer.cpp | |
parent | eb6bc3d377ff6bde3af9368a0a6f9a20b6c88c08 (diff) | |
parent | c16271ca4d678a90cef18af8129a6946903b2115 (diff) |
Merge "libbinder: statusToString for status_t errors" into main am: 8a482fd1ad am: c16271ca4d
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3316036
Change-Id: I2281aebd6b6a09939941bd60c47cfd28ad0b8b42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'libs/binder/RpcServer.cpp')
-rw-r--r-- | libs/binder/RpcServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/RpcServer.cpp b/libs/binder/RpcServer.cpp index b8742af1f9..c7851dc3fb 100644 --- a/libs/binder/RpcServer.cpp +++ b/libs/binder/RpcServer.cpp @@ -503,7 +503,7 @@ void RpcServer::establishConnection( auto status = binder::os::getRandomBytes(sessionId.data(), sessionId.size()); if (status != OK) { - ALOGE("Failed to read random session ID: %s", strerror(-status)); + ALOGE("Failed to read random session ID: %s", statusToString(status).c_str()); return; } } while (server->mSessions.end() != server->mSessions.find(sessionId)); |