diff options
author | bp <bp@FreeBSD.org> | 2001-08-21 08:27:47 +0000 |
---|---|---|
committer | bp <bp@FreeBSD.org> | 2001-08-21 08:27:47 +0000 |
commit | 555767b49c79db0de861dfdcb70c7de1d38f4cdb (patch) | |
tree | b47873f7cd8b4502a5b28e83a36b16676c54c6ef /sys | |
parent | 078a22aae0743318e58f4036b3cefdfa537f61ed (diff) | |
download | FreeBSD-src-555767b49c79db0de861dfdcb70c7de1d38f4cdb.zip FreeBSD-src-555767b49c79db0de861dfdcb70c7de1d38f4cdb.tar.gz |
Use proper endian conversion.
Obtained from: Mac OS X
MFC after: 1 week
Diffstat (limited to 'sys')
-rw-r--r-- | sys/fs/smbfs/smbfs_smb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/smbfs/smbfs_smb.c b/sys/fs/smbfs/smbfs_smb.c index 373d5c1..d7f19c8 100644 --- a/sys/fs/smbfs/smbfs_smb.c +++ b/sys/fs/smbfs/smbfs_smb.c @@ -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; |