From 3703b79b11eecf3d8f2232b400bb8a2dd5b55876 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 25 Jun 2010 12:32:22 +0200 Subject: s3:registry: fix some debug messages in regdb_ini() --- source3/registry/reg_backend_db.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/registry') 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; -- cgit