Skip to content

Commit b3562e1

Browse files
committed
hurd: Add domainname field to utsname
158cd30 ("hurd: fix definition of utsname struct") dropped it saying it is unused, but it is still there and read by the platform-info crate, whose build thus got broken. It is less troublesome to just declare the field.
1 parent 86b04cb commit b3562e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/hurd/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,7 @@ s! {
876876
pub release: [::c_char; _UTSNAME_LENGTH],
877877
pub version: [::c_char; _UTSNAME_LENGTH],
878878
pub machine: [::c_char; _UTSNAME_LENGTH],
879+
pub domainname: [::c_char; _UTSNAME_LENGTH],
879880
}
880881

881882
pub struct rlimit64 {

0 commit comments

Comments
 (0)