Fix mis-merge.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2019-08-05 19:19:25 +00:00
parent 01c3ba9752
commit a1549acbaf

View File

@ -2741,7 +2741,6 @@ __elfN(stackgap)(struct image_params *imgp, u_long *stack_base)
if (pct > 50)
pct = 50;
range = imgp->eff_stack_sz * pct / 100;
range *= pct;
arc4rand(&rbase, sizeof(rbase), 0);
gap = rbase % range;
gap &= ~(sizeof(u_long) - 1);