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