summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index b40e2ce27a..17237ac83f 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -148,7 +148,7 @@ static uint32_t vfswrap_fs_capabilities(struct vfs_handle_struct *handle,
"resolution of %s "
"available on share %s, directory %s\n",
*p_ts_res == TIMESTAMP_SET_MSEC ? "msec" : "sec",
- lp_servicename(conn->cnum),
+ lp_servicename(conn->params->service),
conn->connectpath ));
}
TALLOC_FREE(smb_fname_cpath);