]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: realign synthetic_smb_fname() args in open_np_file()
authorRalph Boehme <slow@samba.org>
Sun, 3 May 2020 13:08:20 +0000 (15:08 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 5 May 2020 19:18:40 +0000 (19:18 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/pipes.c

index 49802aed44e127db92088babfdd9dca44cf8a5b2..bc9d926e0ea08bc06a5841d5d2e5d18e0601ddd6 100644 (file)
@@ -51,7 +51,11 @@ NTSTATUS open_np_file(struct smb_request *smb_req, const char *name,
        fsp->fsp_flags.can_lock = false;
        fsp->access_mask = FILE_READ_DATA | FILE_WRITE_DATA;
 
-       smb_fname = synthetic_smb_fname(talloc_tos(), name, NULL, NULL, 0);
+       smb_fname = synthetic_smb_fname(talloc_tos(),
+                                       name,
+                                       NULL,
+                                       NULL,
+                                       0);
        if (smb_fname == NULL) {
                file_free(smb_req, fsp);
                return NT_STATUS_NO_MEMORY;