Fix the build from r356113.

Types had changed from when the patch was first created, and a final build
was not done pre-commit.
This commit is contained in:
Justin Hibbits 2019-12-27 04:52:17 +00:00
parent bcd3c41334
commit 6b45727338
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356117

View File

@ -1353,7 +1353,7 @@ __CONCAT(exec_, __elfN(imgact))(struct image_params *imgp)
#define OLD_AT_COUNT 27 /* Count of defined aux entry types. */
static int
__elfN(freebsd_fixup_old_auxargs)(register_t **stack_base,
__elfN(freebsd_fixup_old_auxargs)(uintptr_t *stack_base,
struct image_params *imgp)
{
Elf_Auxargs *args = (Elf_Auxargs *)imgp->auxargs;
@ -1414,7 +1414,7 @@ __elfN(freebsd_fixup_old_auxargs)(register_t **stack_base,
base--;
if (suword(base, imgp->args->argc) == -1)
return (EFAULT);
*stack_base = (register_t *)base;
*stack_base = (uintptr_t)base;
return (0);
}
#endif /* __powerpc__ */