From 730f6d597e0dfd1f27232e9e295d8f2bd748af17 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Sun, 3 May 2020 15:08:20 +0200 Subject: [PATCH] smbd: realign synthetic_smb_fname() args in open_np_file() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- source3/smbd/pipes.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c index 49802aed44e..bc9d926e0ea 100644 --- a/source3/smbd/pipes.c +++ b/source3/smbd/pipes.c @@ -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;