diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-07-20 13:43:23 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-07-20 13:43:23 +0200 |
commit | 12b0effee7fe11dff3f63f970a90210b98acd247 (patch) | |
tree | fac957adfa114cc66bcec99e3dda17fb86956a15 /fs-tracer-ebpf | |
parent | fs-tracer: cleanup syscall handler (diff) | |
download | fs-tracer-12b0effee7fe11dff3f63f970a90210b98acd247.tar.gz fs-tracer-12b0effee7fe11dff3f63f970a90210b98acd247.tar.bz2 fs-tracer-12b0effee7fe11dff3f63f970a90210b98acd247.zip |
Syscalls: Write: Fix types
Diffstat (limited to 'fs-tracer-ebpf')
-rw-r--r-- | fs-tracer-ebpf/src/syscalls/write.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs-tracer-ebpf/src/syscalls/write.rs b/fs-tracer-ebpf/src/syscalls/write.rs index 232dfba..b236887 100644 --- a/fs-tracer-ebpf/src/syscalls/write.rs +++ b/fs-tracer-ebpf/src/syscalls/write.rs @@ -22,7 +22,7 @@ unsafe fn handle_sys_write_enter(ctx: TracePointContext) -> Result<c_long, c_lon // info!(&ctx, "handle_sys_write start"); #[derive(Clone, Copy)] struct WriteSyscallArgs { - fd: c_uint, + fd: c_int, buf: *const c_char, count: c_size_t, } |