Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2020 05:27:14 +0000 (UTC)
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r360004 - head/sys/i386/i386
Message-ID:  <202004160527.03G5REfN036543@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: scottl
Date: Thu Apr 16 05:27:13 2020
New Revision: 360004
URL: https://svnweb.freebsd.org/changeset/base/360004

Log:
  Fix ps_strings type change for i386

Modified:
  head/sys/i386/i386/machdep.c

Modified: head/sys/i386/i386/machdep.c
==============================================================================
--- head/sys/i386/i386/machdep.c	Thu Apr 16 04:17:06 2020	(r360003)
+++ head/sys/i386/i386/machdep.c	Thu Apr 16 05:27:13 2020	(r360004)
@@ -1171,7 +1171,7 @@ exec_setregs(struct thread *td, struct image_params *i
 	regs->tf_cs = _ucodesel;
 
 	/* PS_STRINGS value for BSD/OS binaries.  It is 0 for non-BSD/OS. */
-	regs->tf_ebx = imgp->ps_strings;
+	regs->tf_ebx = (register_t)imgp->ps_strings;
 
         /*
          * Reset the hardware debug registers if they were in use.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004160527.03G5REfN036543>