summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-04-12 10:56:53 +0200
committerJeremy Allison <jra@samba.org>2013-04-17 14:49:57 -0700
commitc1ad69556c5ba4477a7c369e369c30def0288d55 (patch)
tree8b10530feca67faf032c0c29a5403c38255bcf43 /source3/modules
parent855ca77f8247b2ee028b3d26a1f1f917204f882f (diff)
downloadsamba-c1ad69556c5ba4477a7c369e369c30def0288d55.tar.gz
samba-c1ad69556c5ba4477a7c369e369c30def0288d55.tar.bz2
samba-c1ad69556c5ba4477a7c369e369c30def0288d55.zip
vfs: Convert hpuxacl_sys_acl_set_file to synthetic_smb_fname
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_hpuxacl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/vfs_hpuxacl.c b/source3/modules/vfs_hpuxacl.c
index a05ca44f24..7ffb847d6b 100644
--- a/source3/modules/vfs_hpuxacl.c
+++ b/source3/modules/vfs_hpuxacl.c
@@ -221,9 +221,9 @@ int hpuxacl_sys_acl_set_file(vfs_handle_struct *handle,
DEBUG(10, ("hpuxacl_sys_acl_set_file called for file '%s'\n",
name));
- status = create_synthetic_smb_fname(talloc_tos(), name, NULL, NULL,
- &smb_fname);
- if (!NT_STATUS_IS_OK(status)) {
+ smb_fname = synthetic_smb_fname(talloc_tos(), name, NULL, NULL);
+ if (smb_fname == NULL) {
+ status = NT_STATUS_NO_MEMORY;
goto done;
}