diff --git a/sys/i386/linux/linux_generic.c b/sys/i386/linux/linux_generic.c index 18832482a819..8b90023143f2 100644 --- a/sys/i386/linux/linux_generic.c +++ b/sys/i386/linux/linux_generic.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_generic.c,v 1.1 1995/06/25 17:32:34 sos Exp $ + * $Id: linux_generic.c,v 1.2 1995/11/22 07:43:45 bde Exp $ */ #include @@ -43,7 +43,7 @@ caddr_t ua_alloc_init(int len) caddr_t ptr; ptr = (caddr_t)ALIGN((PS_STRINGS)); - ptr += sizeof(struct ps_strings); + ptr -= SPARE_USRSPACE; ua_ptr = (caddr_t)(ptr + ALIGN(len)); return ptr; }