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:32:31 +0000
commit409b9b2454c07299791255a612f4f02d26fe6eca (patch)
treeb65a11ca058729a6bfeb349d79f3a6633509e429
parentb2e306164faa10ab0be957378a5344f45f7288de (diff)
downloadsrc-409b9b2454c07299791255a612f4f02d26fe6eca.tar.gz
src-409b9b2454c07299791255a612f4f02d26fe6eca.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 ee288d5fc303..6f74d5876b42 100644
--- a/lib/libprocstat/libprocstat.c
+++ b/lib/libprocstat/libprocstat.c
@@ -834,7 +834,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;