s3-vfs: Use new smb_load_module for better diagnostics
authorAndrew Bartlett <abartlet@samba.org>
Tue, 3 Apr 2012 03:23:43 +0000 (13:23 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 3 Apr 2012 04:25:12 +0000 (14:25 +1000)
source3/smbd/vfs.c

index 4c5e52be1ba448c50a73c5d92beb2a9b7cabc25c..cbefb406595ebb0595091050e83d3c2485b66410 100644 (file)
@@ -167,7 +167,7 @@ bool vfs_init_custom(connection_struct *conn, const char *vfs_object)
                DEBUG(5, ("vfs module [%s] not loaded - trying to load...\n",
                          vfs_object));
 
-               status = smb_probe_module("vfs", module_path);
+               status = smb_load_module("vfs", module_path);
                if (!NT_STATUS_IS_OK(status)) {
                        DEBUG(0, ("error probing vfs module '%s': %s\n",
                                  module_path, nt_errstr(status)));