]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph_nvmeof_monitor_client.cc: ceph_pthread_setname reef backport
authorAlexander Indenbaum <aindenba@redhat.com>
Sun, 2 Feb 2025 14:49:14 +0000 (14:49 +0000)
committerAlexander Indenbaum <aindenba@redhat.com>
Thu, 20 Nov 2025 08:55:27 +0000 (10:55 +0200)
Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
src/ceph_nvmeof_monitor_client.cc

index 05457998cb8ba4002a5065fd63cccf40a835fc25..fa41bed08ad7956ff6020ce2ca3772b312e929f8 100644 (file)
@@ -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()) {