]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: realign synthetic_smb_fname() args in vfs_GetWd()
authorRalph Boehme <slow@samba.org>
Sun, 3 May 2020 13:08:59 +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/vfs.c

index 9dccfef4810d5ef7e06ee09a86652ec65d77e4af..7c93601d655fc9695ecbbcaa76061a4d0fc97906 100644 (file)
@@ -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;