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-02 22:52:49 +0000
commit0ea3e4a27bc0d1b0fdf876c3ef89d790e29ad5b1 (patch)
treea65b519d834bac4d3b6adf94b91df06654465d39
parentdb0ac6ded61105caab4700aeac255328d4238dc4 (diff)
downloadsrc-0ea3e4a27bc0d1b0fdf876c3ef89d790e29ad5b1.tar.gz
src-0ea3e4a27bc0d1b0fdf876c3ef89d790e29ad5b1.zip
Style
Sponsored by: The FreeBSD Foundation MFC after: 1 week
-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 b754bc568e99..b50875db1637 100644
--- a/lib/libprocstat/libprocstat.c
+++ b/lib/libprocstat/libprocstat.c
@@ -867,7 +867,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;