diff options
author | Michael Adam <obnox@samba.org> | 2009-07-07 12:24:25 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-07-15 14:01:47 +0200 |
commit | 4eeacd6ef0e1bb813062c30ac280e542c6b007c8 (patch) | |
tree | 803609a9198166e0b0b54abbc75a27ce1fc9ed2c | |
parent | 355892c296f7f245e5a5dd9070e3e776bedbf09c (diff) | |
download | samba-4eeacd6ef0e1bb813062c30ac280e542c6b007c8.tar.gz samba-4eeacd6ef0e1bb813062c30ac280e542c6b007c8.tar.bz2 samba-4eeacd6ef0e1bb813062c30ac280e542c6b007c8.zip |
s3:registry: in regdb_delete_subkey(), panic if transaction_cancel fails
Michael
-rw-r--r-- | source3/registry/reg_backend_db.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 880c84a1be..0c916a8df6 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -1027,8 +1027,7 @@ static WERROR regdb_delete_subkey(const char *key, const char *subkey) cancel: werr2 = regdb_transaction_cancel(); if (!W_ERROR_IS_OK(werr2)) { - DEBUG(0, (__location__ " failed to cancel transaction: %s\n", - win_errstr(werr2))); + smb_panic("regdb_delete_subkey: transaction_cancel failed\n"); } done: |