summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-10-12 15:57:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:50 -0500
commit7c31786a0d972029937b2f120704f425262f98c4 (patch)
tree032d69da60183863cc66f5fef207bfead323bee2 /source4
parent8d656e9faabf8b7090279c94603584353abd8f62 (diff)
downloadsamba-7c31786a0d972029937b2f120704f425262f98c4.tar.gz
samba-7c31786a0d972029937b2f120704f425262f98c4.tar.bz2
samba-7c31786a0d972029937b2f120704f425262f98c4.zip
r2940: Complain when there is an attempt to register a backend for a subsystem that does
not (yet) exist (This used to be commit 0130713fbe3d838964542a700839c4e276b18547)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/module.c b/source4/lib/module.c
index c724d872ee..67fb830e6f 100644
--- a/source4/lib/module.c
+++ b/source4/lib/module.c
@@ -162,6 +162,8 @@ NTSTATUS register_backend(const char *subsystem, const void *args)
if(!strcmp(subsystem, s->name)) return s->callback(args);
s = s->next;
}
+
+ DEBUG(0, ("Unable to register backend for subsystem '%s'\n", subsystem));
return NT_STATUS_NOT_IMPLEMENTED;
}