s3:vfs_fs_capabilities: fix a debug message
authorMichael Adam <obnox@samba.org>
Tue, 10 Nov 2009 23:13:14 +0000 (00:13 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Nov 2009 10:40:38 +0000 (11:40 +0100)
Michael

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit d363850787da9217a4f26e3b8a9fb401e75b740e)

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);