diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2002-11-13 13:47:12 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2002-11-13 13:47:12 +0000 |
commit | 5988d5e92a123d7c1b509ecafe8d14db47c01b30 (patch) | |
tree | 1cac6ab40866ef6918496cfdfcd3b8c18546e92d /source3 | |
parent | 1a03a47249e40c31c9bac7a28f3e7161673a4057 (diff) | |
download | samba-5988d5e92a123d7c1b509ecafe8d14db47c01b30.tar.gz samba-5988d5e92a123d7c1b509ecafe8d14db47c01b30.tar.bz2 samba-5988d5e92a123d7c1b509ecafe8d14db47c01b30.zip |
Add a DEBUG() that gives the number of successfully loaded modules - useful for debugging
(This used to be commit 612ea35ab016c56e6ad9886283901bc7b417337a)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/module.c b/source3/lib/module.c index 2d8bd7459f..5ad6485806 100644 --- a/source3/lib/module.c +++ b/source3/lib/module.c @@ -66,6 +66,8 @@ int smb_load_modules(const char **modules) } } + DEBUG(2, ("%d modules successfully loaded\n", success)); + return success; } |