From a00109e1e6c1063b560be85c43ef820d3446ae31 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 7 Jul 2009 12:42:09 +0200 Subject: s3:registry: panic upon error at transaction_cancel in create_sorted_subkeys Michael --- source3/registry/reg_backend_db.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 245e14b6d46..8806a93735c 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; -- cgit