From 69c510ae7809c68ac0410d0574fdc46a808928db Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 22 Jun 2024 11:22:44 +0200 Subject: [PATCH] hurd: Fix st_dev name The real GNU name is st_fsid, but the more commonly known name is st_dev, so better use it to avoid having to fix various rust package. This also aligns on the existing struct stat field name, fixed by 07e57b2b2a ("hurd: Fix C API interface completion") --- src/unix/hurd/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/hurd/mod.rs b/src/unix/hurd/mod.rs index 73970f9c9355e..57fab12657957 100644 --- a/src/unix/hurd/mod.rs +++ b/src/unix/hurd/mod.rs @@ -476,7 +476,7 @@ s! { pub struct stat64 { pub st_fstype: ::c_int, - pub st_fsid: __fsid_t, + pub st_dev: __fsid_t, /* Actually st_fsid */ pub st_ino: __ino64_t, pub st_gen: ::c_uint, pub st_rdev: __dev_t,