summaryrefslogtreecommitdiffstats
path: root/logd
diff options
context:
space:
mode:
Diffstat (limited to 'logd')
-rw-r--r--logd/src/logd/service.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/logd/src/logd/service.h b/logd/src/logd/service.h
index 6c43a395e67..e27387c6cae 100644
--- a/logd/src/logd/service.h
+++ b/logd/src/logd/service.h
@@ -36,7 +36,7 @@ public:
void remember(double t, int p) { _lastseen = t; _lastpid = p; }
double lastSeen() const { return _lastseen; }
double lastPid() const { return _lastpid; }
- const std::string getLogCtlName() const { return _logctlname; }
+ const std::string & getLogCtlName() const { return _logctlname; }
};
class Service