From 7c31786a0d972029937b2f120704f425262f98c4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 12 Oct 2004 15:57:20 +0000 Subject: 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) --- source4/lib/module.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/lib') 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; } -- cgit