examples: clifuse: Info level SMB_FIND_FILE_BOTH_DIRECTORY_INFO encodes attibutes...
authorJeremy Allison <jra@samba.org>
Wed, 3 Jun 2020 17:29:24 +0000 (10:29 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 4 Jun 2020 17:11:36 +0000 (17:11 +0000)
commit469aaaea076679f296ed4eca276e7b1c76a1395b
treeb4d041553a26ebe647108d29280f08b32fda19c9
parent887b09f1755795b2f18ce61ceb231bec717e3267
examples: clifuse: Info level SMB_FIND_FILE_BOTH_DIRECTORY_INFO encodes attibutes as a uint32, not a uint8.

Cast to a uint16_t for now after pulling the information
as finfo->mode is currently only 16 bits.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
examples/fuse/clifuse.c