summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-01-09 23:19:24 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-01-09 23:19:24 +0000
commitd2480dda79415d16ddfb5026a75237400a0af91e (patch)
treea130ef69e45df19a49db8b74adeaf54b260c8254
parentac31ba42d5daba0b63ff0d3c79b4c90b73d76c59 (diff)
parent7ab2a96d557b6b1a2ed0ae322c3e469a0bb4706c (diff)
downloadnetd-android14-qpr2-s3-release.tar.gz
Change-Id: Icf1efd2bca0fa0218e2839101a61270db743a52b
-rw-r--r--server/MDnsService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/MDnsService.cpp b/server/MDnsService.cpp
index 68359ede..bb70550a 100644
--- a/server/MDnsService.cpp
+++ b/server/MDnsService.cpp
@@ -60,7 +60,7 @@ status_t MDnsService::start() {
binder::Status MDnsService::startDaemon() {
ENFORCE_NETWORK_STACK_PERMISSIONS();
if (android::base::GetProperty(MDNS_SERVICE_STATUS, "") == "running") {
- return binder::Status::fromExceptionCode(-EBUSY);
+ return android::binder::Status::fromServiceSpecificError(EBUSY, strerror(EBUSY));
}
ALOGD("Starting MDNSD");