Subject: little pb in machdep.c
To: None <port-sparc@netbsd.org>
From: Matthieu Herrb <matthieu@laas.fr>
List: port-sparc
Date: 11/27/1994 14:34:02
Hi, 

I've had a little problem compiling a kernel with -current sources
The file is /sys/arch/sparc/sparc/machdep.c:

/*      $NetBSD: machdep.c,v 1.35 1994/11/23 07:00:10 deraadt Exp $ */

Here's the patch I needed:

*** machdep.c~  Wed Nov 23 13:10:01 1994
--- machdep.c   Sun Nov 27 14:23:49 1994
***************
*** 532,538 ****
  #ifdef DEBUG
        if (sigdebug & SDB_FOLLOW)
                printf("sigreturn: %s[%d], scp %x\n",
!                   p->p_comm, p->p_pid, SCARG(uap, scp));
  #endif
        scp = SCARG(uap, sigcntxp);
        if ((int)scp & 3 || useracc((caddr_t)scp, sizeof *scp, B_WRITE) == 0)
--- 532,538 ----
  #ifdef DEBUG
        if (sigdebug & SDB_FOLLOW)
                printf("sigreturn: %s[%d], scp %x\n",
!                   p->p_comm, p->p_pid, SCARG(uap, sigcntxp));
  #endif
        scp = SCARG(uap, sigcntxp);
        if ((int)scp & 3 || useracc((caddr_t)scp, sizeof *scp, B_WRITE) == 0)


					Matthieu