Author: jhibbits
Date: Fri Dec 27 04:52:17 2019
New Revision: 356117
URL: https://svnweb.freebsd.org/changeset/base/356117

Log:
  Fix the build from r356113.
  
  Types had changed from when the patch was first created, and a final build
  was not done pre-commit.

Modified:
  head/sys/kern/imgact_elf.c

Modified: head/sys/kern/imgact_elf.c
==============================================================================
--- head/sys/kern/imgact_elf.c  Fri Dec 27 04:42:03 2019        (r356116)
+++ head/sys/kern/imgact_elf.c  Fri Dec 27 04:52:17 2019        (r356117)
@@ -1353,7 +1353,7 @@ ret:
 #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_b
        base--;
        if (suword(base, imgp->args->argc) == -1)
                return (EFAULT);
-       *stack_base = (register_t *)base;
+       *stack_base = (uintptr_t)base;
        return (0);
 }
 #endif /* __powerpc__ */
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to