From: Ralph Boehme Date: Thu, 15 Oct 2020 17:49:24 +0000 (+0200) Subject: smbd: fix order of smb_fname flags and twrp args in call_trans2findfirst() X-Git-Tag: talloc-2.3.2~148 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3caf53a0546a1e05bd1ce7e07b987585ebe0ad71;p=thirdparty%2Fsamba.git smbd: fix order of smb_fname flags and twrp args in call_trans2findfirst() Also not creating a BUG for this one as I've not seen any reports from the field that this is causing issues. Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index f9300efee9a..dcf50375d2c 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -2881,8 +2881,8 @@ close_if_end = %d requires_resume_key = %d backup_priv = %d level = 0x%x, max_da ".", NULL, &old_name->st, - old_name->flags, - old_name->twrp); + old_name->twrp, + old_name->flags); TALLOC_FREE(old_name); if (smb_dname == NULL) { reply_nterror(req, NT_STATUS_NO_MEMORY);