summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-15 09:09:57 +0200
committerMichael Adam <obnox@samba.org>2012-06-15 12:14:28 +0200
commit8f94ecbb90f3efedc3e379853dd71369d53cb1f7 (patch)
treea93065c80f61e7557a4044b56691ad16213e7a61 /source3/utils
parent7f19a5ab52ac6ecb380a49ec14072d0fd501f9db (diff)
downloadsamba-8f94ecbb90f3efedc3e379853dd71369d53cb1f7.tar.gz
samba-8f94ecbb90f3efedc3e379853dd71369d53cb1f7.tar.bz2
samba-8f94ecbb90f3efedc3e379853dd71369d53cb1f7.zip
dbwrap: dbwrap_store_uint32->dbwrap_store_uint32_bystring
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_registry_check.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_registry_check.c b/source3/utils/net_registry_check.c
index d6c577b89a..872aa5a371 100644
--- a/source3/utils/net_registry_check.c
+++ b/source3/utils/net_registry_check.c
@@ -940,7 +940,7 @@ dbwrap_store_uint32_verbose(struct db_context *db, const char *key, uint32_t nva
goto done;
}
- status = dbwrap_store_uint32(db, key, nval);
+ status = dbwrap_store_uint32_bystring(db, key, nval);
if (!NT_STATUS_IS_OK(status)) {
printf ("store %s failed: %s\n", key, nt_errstr(status));
}
@@ -1259,8 +1259,8 @@ static bool check_ctx_write_new_db(struct check_ctx *ctx) {
return false;
}
- status = dbwrap_store_uint32(ctx->odb,
- "INFO/version", ctx->version);
+ status = dbwrap_store_uint32_bystring(ctx->odb, "INFO/version",
+ ctx->version);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("write version failed: %s\n", nt_errstr(status)));
return false;