summaryrefslogtreecommitdiffstats
path: root/src/ceph_mgr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ceph_mgr.cc')
-rw-r--r--src/ceph_mgr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ceph_mgr.cc b/src/ceph_mgr.cc
index 67bda0c51be..bd2c643bc6b 100644
--- a/src/ceph_mgr.cc
+++ b/src/ceph_mgr.cc
@@ -41,7 +41,7 @@ static void usage()
*/
int main(int argc, const char **argv)
{
- ceph_pthread_setname(pthread_self(), "ceph-mgr");
+ ceph_pthread_setname("ceph-mgr");
auto args = argv_to_vec(argc, argv);
if (args.empty()) {