From 798bb23e93efa534eff31f9452f4ac6034beadac Mon Sep 17 00:00:00 2001 From: Boris Popov Date: Tue, 21 Aug 2001 08:27:47 +0000 Subject: Use proper endian conversion. Obtained from: Mac OS X MFC after: 1 week --- sys/fs/smbfs/smbfs_smb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/fs/smbfs/smbfs_smb.c b/sys/fs/smbfs/smbfs_smb.c index 373d5c141a616..d7f19c86826ab 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; -- cgit v1.3