]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/assert.cc
import ceph nautilus 14.2.2
[ceph.git] / ceph / src / common / assert.cc
index 0f3e1e2e097f01388bdc6871c5d73cd053d9a678..6fb50014f4399b93ce1c541379b7c5993116e7fe 100644 (file)
@@ -172,8 +172,10 @@ namespace ceph {
     BackTrace *bt = new BackTrace(1);
     snprintf(g_assert_msg, sizeof(g_assert_msg),
              "%s: In function '%s' thread %llx time %s\n"
-            "%s: %d: abort()\n", file, func, (unsigned long long)pthread_self(),
-            tss.str().c_str(), file, line);
+            "%s: %d: ceph_abort_msg(\"%s\")\n", file, func,
+            (unsigned long long)pthread_self(),
+            tss.str().c_str(), file, line,
+            msg.c_str());
     dout_emergency(g_assert_msg);
 
     // TODO: get rid of this memory allocation.