Fix a (mostly harmless) bogon when calculating the start of the stack gap.

This commit is contained in:
Peter Wemm 1996-03-10 22:24:54 +00:00
parent fd2289e5c3
commit b766761288
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14464

View File

@ -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);
}