summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_catia.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-04-11 16:12:13 +0200
committerJeremy Allison <jra@samba.org>2013-04-17 14:49:56 -0700
commite49718111e4b2586136d60bb312ef35e58b6e48c (patch)
tree856c77b2a0f5f4b11bdda5d12a1929aed389abcf /source3/modules/vfs_catia.c
parent7d274641726d1572243968b708a102bb9a15a15c (diff)
downloadsamba-e49718111e4b2586136d60bb312ef35e58b6e48c.tar.gz
samba-e49718111e4b2586136d60bb312ef35e58b6e48c.tar.bz2
samba-e49718111e4b2586136d60bb312ef35e58b6e48c.zip
vfs: Convert catia_ntimes to cp_smb_filename
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/modules/vfs_catia.c')
-rw-r--r--source3/modules/vfs_catia.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c
index 00e93cf494..3d710bd579 100644
--- a/source3/modules/vfs_catia.c
+++ b/source3/modules/vfs_catia.c
@@ -627,9 +627,9 @@ static int catia_ntimes(vfs_handle_struct *handle,
return -1;
}
- status = copy_smb_filename(talloc_tos(), smb_fname, &smb_fname_tmp);
- if (!NT_STATUS_IS_OK(status)) {
- errno = map_errno_from_nt_status(status);
+ smb_fname_tmp = cp_smb_filename(talloc_tos(), smb_fname);
+ if (smb_fname_tmp == NULL) {
+ errno = ENOMEM;
return -1;
}