summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/linux/linux_sysvec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c
index 7634138..d4e23e1 100644
--- a/sys/i386/linux/linux_sysvec.c
+++ b/sys/i386/linux/linux_sysvec.c
@@ -227,11 +227,11 @@ linux_fixup(register_t **stack_base, struct image_params *imgp)
argv = *stack_base;
envp = *stack_base + (imgp->args->argc + 1);
(*stack_base)--;
- **stack_base = (intptr_t)(void *)envp;
+ suword(*stack_base, (intptr_t)(void *)envp);
(*stack_base)--;
- **stack_base = (intptr_t)(void *)argv;
+ suword(*stack_base, (intptr_t)(void *)argv);
(*stack_base)--;
- **stack_base = imgp->args->argc;
+ suword(*stack_base, imgp->args->argc);
return (0);
}
@@ -286,7 +286,7 @@ elf_linux_fixup(register_t **stack_base, struct image_params *imgp)
imgp->auxargs = NULL;
(*stack_base)--;
- **stack_base = (register_t)imgp->args->argc;
+ suword(*stack_base, (register_t)imgp->args->argc);
return (0);
}
OpenPOWER on IntegriCloud