summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-05-23 13:55:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:54 -0500
commitf0d7ae39c00627ebc1e43927ae5df42762e73d95 (patch)
tree6cc5f1a7ba5301e0af593918ebc09a7ddbbe8cfa
parentb4c23f5a52ca5f3fa93e42f95efc74f5d6b47d50 (diff)
downloadsamba-f0d7ae39c00627ebc1e43927ae5df42762e73d95.tar.gz
samba-f0d7ae39c00627ebc1e43927ae5df42762e73d95.tar.bz2
samba-f0d7ae39c00627ebc1e43927ae5df42762e73d95.zip
r833: Compile error
(This used to be commit e4f6ca85223b86beac237398ea5474f4f56404a2)
-rw-r--r--source4/lib/registry/common/reg_interface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/registry/common/reg_interface.c b/source4/lib/registry/common/reg_interface.c
index 93e5b60984..6acedb3591 100644
--- a/source4/lib/registry/common/reg_interface.c
+++ b/source4/lib/registry/common/reg_interface.c
@@ -60,11 +60,12 @@ static struct reg_init_function_entry *reg_find_backend_entry(const char *name)
{
struct reg_init_function_entry *entry;
static BOOL reg_first_init = True;
+ NTSTATUS status;
if(reg_first_init) {
status = register_subsystem("registry", registry_register);
if (!NT_STATUS_IS_OK(status))
- return WERR_GENERAL_FAILURE;
+ return NULL;
static_init_registry;
reg_first_init = False;