summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-07-07 12:42:09 +0200
committerMichael Adam <obnox@samba.org>2009-07-15 14:01:49 +0200
commita00109e1e6c1063b560be85c43ef820d3446ae31 (patch)
treedccd6b6b3a84ad809db0d3489448e52dbe5d7a7a
parent3189828087387686f63b3ae0b289c6e31f602a54 (diff)
downloadsamba-a00109e1e6c1063b560be85c43ef820d3446ae31.tar.gz
samba-a00109e1e6c1063b560be85c43ef820d3446ae31.tar.bz2
samba-a00109e1e6c1063b560be85c43ef820d3446ae31.zip
s3:registry: panic upon error at transaction_cancel in create_sorted_subkeys
Michael
-rw-r--r--source3/registry/reg_backend_db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 245e14b6d4..8806a93735 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -1184,8 +1184,8 @@ static bool create_sorted_subkeys(const char *key, const char *sorted_keyname)
* transaction. See below for an explanation.
*/
if (regdb->transaction_cancel(regdb) == -1) {
- DEBUG(0, ("create_sorted_subkeys: transaction_cancel "
- "failed\n"));
+ smb_panic("create_sorted_subkeys: transaction_cancel "
+ "failed\n");
}
TALLOC_FREE(ctr);
return false;