projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
fa80b24
)
kernel/procfs: Remove some unneeded parentheses.
author
Sascha Wildner <saw@online.de>
Tue, 21 Aug 2012 15:39:02 +0000 (17:39 +0200)
committer
Sascha Wildner <saw@online.de>
Tue, 21 Aug 2012 15:39:02 +0000 (17:39 +0200)
sys/vfs/procfs/procfs_subr.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/vfs/procfs/procfs_subr.c
b/sys/vfs/procfs/procfs_subr.c
index
c71f809
..
f863056
100644
(file)
--- a/
sys/vfs/procfs/procfs_subr.c
+++ b/
sys/vfs/procfs/procfs_subr.c
@@
-351,11
+351,11
@@
procfs_rw(struct vop_read_args *ap)
lwkt_gettoken(&proc_token);
p = pfs_pfind(pfs->pfs_pid);
if (p == NULL) {
- rtval = (EINVAL);
+ rtval = EINVAL;
goto out;
}
if (p->p_pid == 1 && securelevel > 0 && uio->uio_rw == UIO_WRITE) {
- rtval = (EACCES);
+ rtval = EACCES;
goto out;
}
/* XXX lwp */