summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_backend_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index e0be8f3975..52b4a83e87 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -352,7 +352,7 @@ bool regdb_init(void)
/* any upgrade code here if needed */
DEBUG(10, ("regdb_init: got %s = %d != %d\n", vstring,
vers_id, REGVER_V1));
- if (dbwrap_store_int32(regdb, vstring, REGVER_V1) != 0) {
+ if (dbwrap_trans_store_int32(regdb, vstring, REGVER_V1) != 0) {
DEBUG(0, ("regdb_init: error storing %s = %d\n",
vstring, REGVER_V1));
return false;