aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/i386/machdep.c
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2020-04-16 05:27:13 +0000
committerScott Long <scottl@FreeBSD.org>2020-04-16 05:27:13 +0000
commit0d9abbcf51f1a5a5480f60eca04324e083c3a1de (patch)
treea398b1ea1da3d4c0a164847457766c3e603978e2 /sys/i386/i386/machdep.c
parent3859e5c3c6d84ec1c0c7a5d41be90687a7d63128 (diff)
downloadsrc-0d9abbcf51f1a5a5480f60eca04324e083c3a1de.tar.gz
src-0d9abbcf51f1a5a5480f60eca04324e083c3a1de.zip
Fix ps_strings type change for i386
Notes
Notes: svn path=/head/; revision=360004
Diffstat (limited to 'sys/i386/i386/machdep.c')
-rw-r--r--sys/i386/i386/machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index 169aec1330c5..221b0f493e22 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -1171,7 +1171,7 @@ exec_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack)
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.