summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_backend_db.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 6763558b0d..880c84a1be 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -961,8 +961,7 @@ static WERROR regdb_create_subkey(const char *key, const char *subkey)
cancel:
if (regdb->transaction_cancel(regdb) != 0) {
- werr = WERR_REG_IO_FAILURE;
- DEBUG(0, (__location__ " failed to cancel transaction\n"));
+ smb_panic("regdb_create_subkey: transaction_cancel failed\n");
}
done: