summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-15 09:48:20 +0200
committerMichael Adam <obnox@samba.org>2012-06-15 12:14:29 +0200
commit64fec465c15fea77313643636d82d2c14115f434 (patch)
treec19360025c1811b3a765bc9e322aa903ebbfc8e0 /source3/registry
parent07d6c25525ca3b0d3a4e179f1048818f78cccf9d (diff)
downloadsamba-64fec465c15fea77313643636d82d2c14115f434.tar.gz
samba-64fec465c15fea77313643636d82d2c14115f434.tar.bz2
samba-64fec465c15fea77313643636d82d2c14115f434.zip
dbwrap: dbwrap_trans_store_int32->dbwrap_trans_store_int32_bystring
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_backend_db.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 2e8cef75fa..8fe1b8e61c 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -485,7 +485,8 @@ static WERROR regdb_store_regdb_version(struct db_context *db, uint32_t version)
return WERR_CAN_NOT_COMPLETE;
}
- status = dbwrap_trans_store_int32(db, REGDB_VERSION_KEYNAME, version);
+ status = dbwrap_trans_store_int32_bystring(db, REGDB_VERSION_KEYNAME,
+ version);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("regdb_store_regdb_version: error storing %s = %d: %s\n",
REGDB_VERSION_KEYNAME, version, nt_errstr(status)));