Skip to content

Commit 79c06c1

Browse files
committed
Fixed the params order of process_vm_readv_k32
1 parent 046ac13 commit 79c06c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Reloaded.Memory/Native/Unix/Posix.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,11 @@ public struct IoVec
135135
/// but with an API similar to <see cref="Kernel32.ReadProcessMemory" />.
136136
/// </summary>
137137
/// <param name="processId">Id of the process to read from.</param>
138-
/// <param name="localIov">Local memory address.</param>
139138
/// <param name="remoteIov">Remote memory address.</param>
139+
/// <param name="localIov">Local memory address.</param>
140140
/// <param name="numBytes">Memory size.</param>
141141
/// <returns>True on success, else false.</returns>
142-
public static unsafe bool process_vm_readv_k32(nint processId, nuint localIov, nuint remoteIov, nuint numBytes)
142+
public static unsafe bool process_vm_readv_k32(nint processId, nuint remoteIov, nuint localIov, nuint numBytes)
143143
{
144144
IoVec local = new() { iov_base = localIov, iov_len = numBytes };
145145
IoVec remote = new() { iov_base = remoteIov, iov_len = numBytes };

0 commit comments

Comments
 (0)