diff options
| author | Alexander Langer <alex@FreeBSD.org> | 1997-06-26 16:12:53 +0000 |
|---|---|---|
| committer | Alexander Langer <alex@FreeBSD.org> | 1997-06-26 16:12:53 +0000 |
| commit | 2c39c8177bf8467e3d23bd3c7904eda9924cbe2b (patch) | |
| tree | 0e9c26bc8a04876888e179032cdaa03659af3ca2 | |
| parent | 9679e98125ca315bc88c591c4eeaaf5cc53f3382 (diff) | |
Notes
| -rw-r--r-- | sys/fs/procfs/procfs_subr.c | 4 | ||||
| -rw-r--r-- | sys/miscfs/procfs/procfs_subr.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/fs/procfs/procfs_subr.c b/sys/fs/procfs/procfs_subr.c index 072331c34aed..4793a7f7d9a2 100644 --- a/sys/fs/procfs/procfs_subr.c +++ b/sys/fs/procfs/procfs_subr.c @@ -36,7 +36,7 @@ * * @(#)procfs_subr.c 8.6 (Berkeley) 5/14/95 * - * $Id: procfs_subr.c,v 1.14 1997/03/08 16:06:34 bde Exp $ + * $Id: procfs_subr.c,v 1.15 1997/06/21 16:09:49 alex Exp $ */ #include <sys/param.h> @@ -243,7 +243,7 @@ procfs_rw(ap) if (p == 0) return (EINVAL); if (p->p_pid == 1 && securelevel > 0 && uio->uio_rw == UIO_WRITE) - return(EACCES); + return (EACCES); while (pfs->pfs_lockowner) { tsleep(&pfs->pfs_lockowner, PRIBIO, "pfslck", 0); diff --git a/sys/miscfs/procfs/procfs_subr.c b/sys/miscfs/procfs/procfs_subr.c index 072331c34aed..4793a7f7d9a2 100644 --- a/sys/miscfs/procfs/procfs_subr.c +++ b/sys/miscfs/procfs/procfs_subr.c @@ -36,7 +36,7 @@ * * @(#)procfs_subr.c 8.6 (Berkeley) 5/14/95 * - * $Id: procfs_subr.c,v 1.14 1997/03/08 16:06:34 bde Exp $ + * $Id: procfs_subr.c,v 1.15 1997/06/21 16:09:49 alex Exp $ */ #include <sys/param.h> @@ -243,7 +243,7 @@ procfs_rw(ap) if (p == 0) return (EINVAL); if (p->p_pid == 1 && securelevel > 0 && uio->uio_rw == UIO_WRITE) - return(EACCES); + return (EACCES); while (pfs->pfs_lockowner) { tsleep(&pfs->pfs_lockowner, PRIBIO, "pfslck", 0); |
