aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-02 22:22:27 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-02 22:22:27 +0200
commit9bbcc8265a062572e19dc18d679948ebbe892419 (patch)
tree7c20fe9138d614d8047b6ef20f58a33b4b8769ec
parent0be50de40ee012223eba38e76f19ed08f5429f51 (diff)
downloadhurd-9bbcc8265a062572e19dc18d679948ebbe892419.tar.gz
hurd-9bbcc8265a062572e19dc18d679948ebbe892419.tar.bz2
hurd-9bbcc8265a062572e19dc18d679948ebbe892419.zip
Make dev_t word type
dev_t are 64bit on Linux ports, so better increase their size on 64bit Hurd. It happens that this helps with BZ 23084 there: st_dev has type fsid_t (quad) and is specified by POSIX to have type dev_t. Making dev_t 64bit makes these match.
-rw-r--r--hurd/hurd_types.defs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurd_types.defs b/hurd/hurd_types.defs
index fbd217d3..63003a24 100644
--- a/hurd/hurd_types.defs
+++ b/hurd/hurd_types.defs
@@ -449,7 +449,7 @@ type squad = int64_t;
type blksize_t = long;
type blkcnt64_t = squad;
-type dev_t = uint32_t;
+type dev_t = uword;
type fsblkcnt64_t = uquad;
type fsfilcnt64_t = uquad;
type fsid_t = uquad;