summaryrefslogtreecommitdiff
path: root/src/common/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/db.c')
-rw-r--r--src/common/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/db.c b/src/common/db.c
index be2714603..6506fb889 100644
--- a/src/common/db.c
+++ b/src/common/db.c
@@ -2052,7 +2052,7 @@ static int db_obj_vdestroy(DBMap* self, DBApply func, va_list args)
if (db->free_lock)
ShowWarning("db_vdestroy: Database is still in use, %u lock(s) left. Continuing database destruction.\n"
"Database allocated at %s:%d\n",
- db->alloc_file, db->alloc_line, db->free_lock);
+ db->free_lock, db->alloc_file, db->alloc_line);
#ifdef DB_ENABLE_STATS
switch (db->type) {