Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'compel/arch/aarch64/src')
-rw-r--r--compel/arch/aarch64/src/lib/infect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compel/arch/aarch64/src/lib/infect.c b/compel/arch/aarch64/src/lib/infect.c
index ee1ec7c20..4f5534b75 100644
--- a/compel/arch/aarch64/src/lib/infect.c
+++ b/compel/arch/aarch64/src/lib/infect.c
@@ -83,7 +83,7 @@ err:
return ret;
}
-int compel_syscall(struct parasite_ctl *ctl, int nr, unsigned long *ret,
+int compel_syscall(struct parasite_ctl *ctl, int nr, long *ret,
unsigned long arg1,
unsigned long arg2,
unsigned long arg3,
@@ -114,7 +114,7 @@ void *remote_mmap(struct parasite_ctl *ctl,
void *addr, size_t length, int prot,
int flags, int fd, off_t offset)
{
- unsigned long map;
+ long map;
int err;
err = compel_syscall(ctl, __NR_mmap, &map,