diff options
Diffstat (limited to 'sys/miscfs/procfs/procfs_cmdline.c')
-rw-r--r-- | sys/miscfs/procfs/procfs_cmdline.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/miscfs/procfs/procfs_cmdline.c b/sys/miscfs/procfs/procfs_cmdline.c index bd9d9c68e52..5e07d4fa122 100644 --- a/sys/miscfs/procfs/procfs_cmdline.c +++ b/sys/miscfs/procfs/procfs_cmdline.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procfs_cmdline.c,v 1.6 2005/12/11 21:30:31 miod Exp $ */ +/* $OpenBSD: procfs_cmdline.c,v 1.7 2006/11/29 12:24:18 miod Exp $ */ /* $NetBSD: procfs_cmdline.c,v 1.3 1999/03/13 22:26:48 thorpej Exp $ */ /* @@ -106,7 +106,6 @@ procfs_docmdline(curp, p, pfs, uio) free(arg, M_TEMP); return (EFAULT); } - PHOLD(p); p->p_vmspace->vm_refcnt++; /* XXX */ /* @@ -183,7 +182,6 @@ procfs_docmdline(curp, p, pfs, uio) bad: - PRELE(p); uvmspace_free(p->p_vmspace); free(arg, M_TEMP); return (error); |