diff options
-rw-r--r-- | src/meta.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |