svn commit: r360004 - head/sys/i386/i386
Scott Long
scottl at FreeBSD.org
Thu Apr 16 05:27:14 UTC 2020
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.
More information about the svn-src-all
mailing list