s3:vfs_fs_capabilities: fix a debug message
[amitay/samba.git] / source3 / modules / vfs_default.c
index b40e2ce27aabcfb2c5fc459b68082ab21359dfcf..17237ac83fc516b7f7baca065a42277abaa63536 100644 (file)
@@ -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);