]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3 onefs: Fix invalid argument from the unix_convert smb_filename struct patch
authorTim Prouty <tprouty@samba.org>
Thu, 21 May 2009 19:17:33 +0000 (12:17 -0700)
committerTim Prouty <tprouty@samba.org>
Thu, 21 May 2009 19:17:33 +0000 (12:17 -0700)
source3/modules/onefs_open.c

index 7d4379f1fc8bc3b7497b965e2229dc7ab3ee8d6a..6cfa24f9f61b61e07ae1b4ca682deac5c1be50bb 100644 (file)
@@ -2069,7 +2069,7 @@ NTSTATUS onefs_create_file(vfs_handle_struct *handle,
                        goto fail;
                }
 
-               status = get_full_smb_filename(talloc_tos(), &smb_fname,
+               status = get_full_smb_filename(talloc_tos(), smb_fname,
                                               &converted_fname);
                if (!NT_STATUS_IS_OK(status)) {
                        TALLOC_FREE(smb_fname);