Fix the ia64 build.

Pointy hat to: me
This commit is contained in:
Nathan Whitehorn 2010-03-26 00:53:13 +00:00
parent 2261a4056e
commit d4425a31a5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205660

View File

@ -1381,7 +1381,7 @@ exec_setregs(struct thread *td, struct image_params *imgp, u_long stack)
* Assumes that (bspstore & 0x1f8) < 0x1e0.
*/
suword((caddr_t)tf->tf_special.bspstore - 24, stack);
suword((caddr_t)tf->tf_special.bspstore - 16, ps_strings);
suword((caddr_t)tf->tf_special.bspstore - 16, imgp->ps_strings);
suword((caddr_t)tf->tf_special.bspstore - 8, 0);
}