diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-01-19 01:05:33 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-01-19 01:05:33 +0000 |
commit | 96025bac5f7e8aca336d00225192c709a74d5372 (patch) | |
tree | 62244e8deebd1f6839e2960c017cb3e49c7ee6ae /sys | |
parent | 461ced1b8a0b6091149bd57d78f1f48224386112 (diff) |
GETICBLEN() needs to swap the ICB length on big-endian architectures
Diffstat (limited to 'sys')
-rw-r--r-- | sys/isofs/udf/ecma167-udf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isofs/udf/ecma167-udf.h b/sys/isofs/udf/ecma167-udf.h index a51e83223c2..720e69ec540 100644 --- a/sys/isofs/udf/ecma167-udf.h +++ b/sys/isofs/udf/ecma167-udf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ecma167-udf.h,v 1.2 2005/04/14 12:35:29 pedro Exp $ */ +/* $OpenBSD: ecma167-udf.h,v 1.3 2006/01/19 01:05:32 pedro Exp $ */ /* * Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org> @@ -372,4 +372,4 @@ union dscrptr { #define GETICB(ad_type, fentry, offset) \ (struct ad_type *)&fentry->data[offset] -#define GETICBLEN(ad_type, icb) ((struct ad_type *)(icb))->len +#define GETICBLEN(ad_type, icb) letoh32(((struct ad_type *)(icb))->len) |