From c93c7ab75d82c81a6e8f1edfc207847768bcd282 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 30 May 2017 14:59:05 +0200 Subject: [PATCH] Display the correct address in lockdump for db_lock() --- bacula/src/cats/protos.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/cats/protos.h b/bacula/src/cats/protos.h index dacccb93d8..39242564dc 100644 --- a/bacula/src/cats/protos.h +++ b/bacula/src/cats/protos.h @@ -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 */ -- 2.39.5