mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 17:10:36 +00:00
Use proper endian conversion.
Obtained from: Mac OS X MFC after: 1 week
This commit is contained in:
parent
3419dc99dd
commit
798bb23e93
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82039
|
@ -1101,7 +1101,7 @@ smbfs_findnextLM2(struct smbfs_fctx *ctx, int limit)
|
|||
md_get_int64le(mbp, &lint); /* file size */
|
||||
ctx->f_attr.fa_size = lint;
|
||||
md_get_int64(mbp, NULL); /* real size (should use) */
|
||||
md_get_uint32(mbp, &dattr); /* EA */
|
||||
md_get_uint32le(mbp, &dattr); /* EA */
|
||||
ctx->f_attr.fa_attr = dattr;
|
||||
md_get_uint32le(mbp, &size); /* name len */
|
||||
fxsz = 64;
|
||||
|
|
Loading…
Reference in a new issue