]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Improve assert message
authorKern Sibbald <kern@sibbald.com>
Tue, 30 Apr 2019 08:30:26 +0000 (10:30 +0200)
committerKern Sibbald <kern@sibbald.com>
Tue, 30 Apr 2019 08:30:34 +0000 (10:30 +0200)
bacula/src/lib/lockmgr.c

index 3ec1c2e5a5744eb88a025ba53278326361640342..b4ae916443c56a85daa0ba95a18855371848615f 100644 (file)
@@ -618,7 +618,7 @@ void lmgr_unregister_thread(lmgr_thread_t *item)
       for(int i=0; i<=item->current; i++) {
          lmgr_lock_t *lock = &item->lock_list[i];
          if (lock->state == LMGR_LOCK_GRANTED) {
-            ASSERT2(0, "Thread exits with granted locks");
+            ASSERT2(0, "Thread is exiting holding locks!!!!");
          }
       }
 #endif