diff options
author | edef <edef@unfathomable.blue> | 2022-07-27 23:26:45 +0000 |
---|---|---|
committer | edef <edef@unfathomable.blue> | 2022-07-27 23:26:45 +0000 |
commit | c4531e0286fe8eb2e42480b9483f00eec90279ae (patch) | |
tree | 30f46d55f85511e581e0a214fc6190b4a0e5905f /ripple | |
parent | d457dd7314835ba43845462c6d81c5985b89f891 (diff) | |
download | unf-legacy-c4531e0286fe8eb2e42480b9483f00eec90279ae.tar.zst |
ripple/minitrace: mmap fd is an i32, not u64
Change-Id: I092d4f47231d560a0c4ac023e63051def34c2c92
Diffstat (limited to 'ripple')
-rw-r--r-- | ripple/minitrace/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ripple/minitrace/src/main.rs b/ripple/minitrace/src/main.rs index 3d94288..898490e 100644 --- a/ripple/minitrace/src/main.rs +++ b/ripple/minitrace/src/main.rs @@ -233,7 +233,7 @@ define_syscalls! { fn read(fd: i32, buf: *mut u8, count: usize) -> i64 = 0; fn write(fd: i32, buf: *const u8, count: usize) -> i64 = 1; fn close(fd: i32) -> i64 = 3; - fn mmap(addr: u64, len: u64, prot: u64, flags: u64, fd: u64, off: u64) -> i64 = 9; + fn mmap(addr: u64, len: u64, prot: u64, flags: u64, fd: i32, off: u64) -> i64 = 9; fn mprotect(addr: u64, len: usize, prot: u64) -> i64 = 10; fn brk(brk: u64) -> i64 = 12; fn rt_sigaction(sig: i32, act: *const SigAction, oact: *mut SigAction, sigsetsize: usize) -> i64 = 13; |