From: Ralph Boehme Date: Thu, 7 May 2020 15:51:42 +0000 (+0200) Subject: smbd: fix SMB_VFS_MKDIRAT() arg alignment in mkdir_internal() X-Git-Tag: ldb-2.2.0~422 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0591904bb8618cadbfd5d44eb6ff2513e8eda6e0;p=thirdparty%2Fsamba.git smbd: fix SMB_VFS_MKDIRAT() arg alignment in mkdir_internal() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 5ebe6aa18c1..91fc46066ef 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -4166,9 +4166,9 @@ static NTSTATUS mkdir_internal(connection_struct *conn, } ret = SMB_VFS_MKDIRAT(conn, - conn->cwd_fsp, - smb_dname, - mode); + conn->cwd_fsp, + smb_dname, + mode); if (ret != 0) { return map_nt_error_from_unix(errno); }