git: 0ea3e4a27bc0 - main - Style
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Dec 2021 22:52:57 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=0ea3e4a27bc0d1b0fdf876c3ef89d790e29ad5b1
commit 0ea3e4a27bc0d1b0fdf876c3ef89d790e29ad5b1
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-12-02 18:02:26 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-12-02 22:52:49 +0000
Style
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
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 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;