]> git.sur5r.net Git - bacula/bacula/commitdiff
Display the correct address in lockdump for db_lock()
authorEric Bollengier <eric@baculasystems.com>
Tue, 30 May 2017 12:59:05 +0000 (14:59 +0200)
committerKern Sibbald <kern@sibbald.com>
Wed, 7 Jun 2017 07:54:20 +0000 (09:54 +0200)
bacula/src/cats/protos.h

index dacccb93d8abd481f765d6cafd1ad94154d66aff..39242564dc1a19fd2da975da8f47f6348bb27ad2 100644 (file)
@@ -55,9 +55,9 @@ BDB *db_init_database(JCR *jcr, const char *db_driver, const char *db_name,
 
 /* Misc */
 #define db_lock(mdb) \
-           mdb->bdb_lock()
+   mdb->bdb_lock(__FILE__, __LINE__)
 #define db_unlock(mdb) \
-           mdb->bdb_unlock()
+   mdb->bdb_unlock()
 
 
 /* Virtual methods */