summaryrefslogtreecommitdiffstats
path: root/src/ceph_mon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ceph_mon.cc')
-rw-r--r--src/ceph_mon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ceph_mon.cc b/src/ceph_mon.cc
index 279fdb20ccb..63eb252e38f 100644
--- a/src/ceph_mon.cc
+++ b/src/ceph_mon.cc
@@ -250,7 +250,7 @@ int main(int argc, const char **argv)
{
// reset our process name, in case we did a respawn, so that it's not
// left as "exe".
- ceph_pthread_setname(pthread_self(), "ceph-mon");
+ ceph_pthread_setname("ceph-mon");
int err;