Fix ps_strings type change for i386
This commit is contained in:
parent
c9f89bb313
commit
43651faf02
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user