aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-12-02 18:02:26 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-12-09 00:23:28 +0000
commit0ab5452ca3a10f1b285af2c98e2b5ea055cf2e53 (patch)
treedabda0160a232128dda60d4d6e0974443a132f67
parentc4c2d50242c9d3bc596d22174fbf6ea93c577872 (diff)
downloadsrc-0ab5452ca3a10f1b285af2c98e2b5ea055cf2e53.tar.gz
src-0ab5452ca3a10f1b285af2c98e2b5ea055cf2e53.zip
Style
(cherry picked from commit 0ea3e4a27bc0d1b0fdf876c3ef89d790e29ad5b1)
-rw-r--r--lib/libprocstat/libprocstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libprocstat/libprocstat.c b/lib/libprocstat/libprocstat.c
index a2de61855815..176c2b7f8c6f 100644
--- a/lib/libprocstat/libprocstat.c
+++ b/lib/libprocstat/libprocstat.c
@@ -870,7 +870,7 @@ procstat_getfiles_sysctl(struct procstat *procstat, struct kinfo_proc *kp,
assert(kp);
if (kp->ki_fd == NULL)
return (NULL);
- switch(procstat->type) {
+ switch (procstat->type) {
case PROCSTAT_SYSCTL:
files = kinfo_getfile(kp->ki_pid, &cnt);
break;