mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 07:03:11 +00:00
Make ifru fields sentinel-terminated
This commit is contained in:
parent
c60daa255f
commit
aebf28eba3
@ -1732,8 +1732,8 @@ pub const ifreq = extern struct {
|
||||
ifru_ivalue: i32,
|
||||
ifru_mtu: i32,
|
||||
ifru_map: ifmap,
|
||||
ifru_slave: [IFNAMESIZE]u8,
|
||||
ifru_newname: [IFNAMESIZE]u8,
|
||||
ifru_slave: [IFNAMESIZE - 1:0]u8,
|
||||
ifru_newname: [IFNAMESIZE - 1:0]u8,
|
||||
ifru_data: ?[*]u8,
|
||||
},
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user