Module Name: src Committed By: riastradh Date: Fri Aug 28 21:39:56 UTC 2020
Modified Files: src/sys/kern: kern_proc.c Log Message: Nix trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.257 -r1.258 src/sys/kern/kern_proc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/kern_proc.c diff -u src/sys/kern/kern_proc.c:1.257 src/sys/kern/kern_proc.c:1.258 --- src/sys/kern/kern_proc.c:1.257 Fri Aug 28 21:39:28 2020 +++ src/sys/kern/kern_proc.c Fri Aug 28 21:39:56 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_proc.c,v 1.257 2020/08/28 21:39:28 riastradh Exp $ */ +/* $NetBSD: kern_proc.c,v 1.258 2020/08/28 21:39:56 riastradh Exp $ */ /*- * Copyright (c) 1999, 2006, 2007, 2008, 2020 The NetBSD Foundation, Inc. @@ -62,7 +62,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.257 2020/08/28 21:39:28 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.258 2020/08/28 21:39:56 riastradh Exp $"); #ifdef _KERNEL_OPT #include "opt_kstack.h" @@ -1766,7 +1766,7 @@ proc_vmspace_getref(struct proc *p, stru /* * Acquire a write lock on the process credential. */ -void +void proc_crmod_enter(void) { struct lwp *l = curlwp; @@ -1999,7 +1999,7 @@ static struct lwp * proc_active_lwp(struct proc *p) { static const int ostat[] = { - 0, + 0, 2, /* LSIDL */ 6, /* LSRUN */ 5, /* LSSLEEP */ @@ -2186,7 +2186,7 @@ sysctl_doeproc(SYSCTLFN_ARGS) /* * Grab a hold on the process. */ - if (mmmbrains) { + if (mmmbrains) { zombie = true; } else { zombie = !rw_tryenter(&p->p_reflock, RW_READER);