git: 0ab5452ca3a1 - stable/13 - Style
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Dec 2021 00:24:07 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=0ab5452ca3a10f1b285af2c98e2b5ea055cf2e53
commit 0ab5452ca3a10f1b285af2c98e2b5ea055cf2e53
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-12-02 18:02:26 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-12-09 00:23:28 +0000
Style
(cherry picked from commit 0ea3e4a27bc0d1b0fdf876c3ef89d790e29ad5b1)
---
lib/libprocstat/libprocstat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;