summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-06-25 12:32:22 +0200
committerMichael Adam <obnox@samba.org>2010-06-25 17:35:42 +0200
commit3703b79b11eecf3d8f2232b400bb8a2dd5b55876 (patch)
treeebc8bb0e311d9fa4877b54016d8cbdea4cdbd179
parent15bacaf3c594ac24cf26b0329723e873a5cae43d (diff)
downloadsamba-3703b79b11eecf3d8f2232b400bb8a2dd5b55876.tar.gz
samba-3703b79b11eecf3d8f2232b400bb8a2dd5b55876.tar.bz2
samba-3703b79b11eecf3d8f2232b400bb8a2dd5b55876.zip
s3:registry: fix some debug messages in regdb_ini()
-rw-r--r--source3/registry/reg_backend_db.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index e861d46d88..27170a5a3a 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -498,11 +498,11 @@ WERROR regdb_init(void)
status = dbwrap_trans_store_int32(regdb, vstring, REGVER_V2);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("regdb_init: error storing %s = %d: %s\n",
- vstring, REGVER_V1, nt_errstr(status)));
+ vstring, REGVER_V2, nt_errstr(status)));
return ntstatus_to_werror(status);
} else {
DEBUG(10, ("regdb_init: stored %s = %d\n",
- vstring, REGVER_V1));
+ vstring, REGVER_V2));
}
vers_id = REGVER_V2;
}
@@ -524,12 +524,12 @@ WERROR regdb_init(void)
status = dbwrap_trans_store_int32(regdb, vstring, REGVER_V2);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("regdb_init: error storing %s = %d: %s\n",
- vstring, REGVER_V1, nt_errstr(status)));
+ vstring, REGVER_V2, nt_errstr(status)));
regdb->transaction_cancel(regdb);
return ntstatus_to_werror(status);
} else {
DEBUG(10, ("regdb_init: stored %s = %d\n",
- vstring, REGVER_V1));
+ vstring, REGVER_V2));
}
if (regdb->transaction_commit(regdb) != 0) {
return WERR_REG_IO_FAILURE;