Fix a (mostly harmless) bogon when calculating the start of the stack gap.
This commit is contained in:
parent
fd2289e5c3
commit
b766761288
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14464
@ -58,7 +58,7 @@ static __inline void *stackgap_alloc(caddr_t *, size_t);
|
||||
static __inline caddr_t
|
||||
stackgap_init()
|
||||
{
|
||||
#define szsigcode (*(curproc->p_sysent->sv_szsigcode), sizeof(char *))
|
||||
#define szsigcode (*(curproc->p_sysent->sv_szsigcode))
|
||||
return (caddr_t)(((caddr_t)PS_STRINGS) - szsigcode - SPARE_USRSPACE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user