diff options
author | peter <peter@FreeBSD.org> | 1996-03-10 22:24:54 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-03-10 22:24:54 +0000 |
commit | c08735130595cce051009ba5b093677bf7c46e0a (patch) | |
tree | 3a304ff53741f1576b38fce759b0e93b69334ae4 | |
parent | 49aed043c3266b2e37f1471676abad2c49d7fac5 (diff) | |
download | FreeBSD-src-c08735130595cce051009ba5b093677bf7c46e0a.zip FreeBSD-src-c08735130595cce051009ba5b093677bf7c46e0a.tar.gz |
Fix a (mostly harmless) bogon when calculating the start of the stack gap.
-rw-r--r-- | sys/i386/ibcs2/ibcs2_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/ibcs2/ibcs2_util.h b/sys/i386/ibcs2/ibcs2_util.h index af972b6..05ae546 100644 --- a/sys/i386/ibcs2/ibcs2_util.h +++ b/sys/i386/ibcs2/ibcs2_util.h @@ -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); } |