summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/meta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/meta.c b/src/meta.c
index 9606a44b..80c2638f 100644
--- a/src/meta.c
+++ b/src/meta.c
@@ -230,7 +230,7 @@ static const struct datatype uid_type = {
.type = TYPE_UID,
.name = "uid",
.desc = "user ID",
- .byteorder = BYTEORDER_BIG_ENDIAN,
+ .byteorder = BYTEORDER_HOST_ENDIAN,
.size = sizeof(uid_t) * BITS_PER_BYTE,
.basetype = &integer_type,
.print = uid_type_print,
@@ -275,7 +275,7 @@ static const struct datatype gid_type = {
.type = TYPE_GID,
.name = "gid",
.desc = "group ID",
- .byteorder = BYTEORDER_BIG_ENDIAN,
+ .byteorder = BYTEORDER_HOST_ENDIAN,
.size = sizeof(gid_t) * BITS_PER_BYTE,
.basetype = &integer_type,
.print = gid_type_print,