From 8bf629a0f331c889e06150c95fcf3b5bc08ae27b Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Sun, 3 May 2020 15:08:59 +0200 Subject: [PATCH] smbd: realign synthetic_smb_fname() args in vfs_GetWd() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- source3/smbd/vfs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 9dccfef4810..7c93601d655 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -923,7 +923,11 @@ struct smb_filename *vfs_GetWd(TALLOC_CTX *ctx, connection_struct *conn) goto nocache; } - smb_fname_dot = synthetic_smb_fname(ctx, ".", NULL, NULL, 0); + smb_fname_dot = synthetic_smb_fname(ctx, + ".", + NULL, + NULL, + 0); if (smb_fname_dot == NULL) { errno = ENOMEM; goto out; -- 2.34.1