mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
std.os.linux.io_uring: fix ABI error
`register_files_update` was passing a pointer to a Zig struct to the kernel.
This commit is contained in:
parent
342bae02d8
commit
b2c85464be
@ -954,7 +954,7 @@ pub const IO_Uring = struct {
|
||||
pub fn register_files_update(self: *IO_Uring, offset: u32, fds: []const os.fd_t) !void {
|
||||
assert(self.fd >= 0);
|
||||
|
||||
const FilesUpdate = struct {
|
||||
const FilesUpdate = extern struct {
|
||||
offset: u32,
|
||||
resv: u32,
|
||||
fds: u64 align(8),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user