From nobody Thu Dec 02 22:52:57 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id AAAE518C7590; Thu, 2 Dec 2021 22:52:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J4rp130dMz4XjG; Thu, 2 Dec 2021 22:52:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 46D4825CDB; Thu, 2 Dec 2021 22:52:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B2MqvLM002701; Thu, 2 Dec 2021 22:52:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B2MqvNT002700; Thu, 2 Dec 2021 22:52:57 GMT (envelope-from git) Date: Thu, 2 Dec 2021 22:52:57 GMT Message-Id: <202112022252.1B2MqvNT002700@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 0ea3e4a27bc0 - main - Style List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0ea3e4a27bc0d1b0fdf876c3ef89d790e29ad5b1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638485577; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=w5Jj/kOv87glgyHdP5UBayji35AJqpKdBaGLsGp1AaA=; b=T3kHReckuT1UU5qsucgvyhYwYixp2+HvAZLq5PXP3mDf56D4sHdRYBXTXlH5gocROAhz1K 96bzq2CGK1om4n3RRx1HAb/yowioqSqvBVS1+raklGtbdaN+y+vwZdwO2DuC+64HY87CbB 548U5MJ1fQPujJdyJGrvjuCk2oKD9PmVcIstIu9jahz3zk8JBwhEA5JCyiRNCSi5NxBX1d jQ3lfmbRrKvHDAgTt9wmwEa6IkWJ1E85KvBLjfdhFi/+4VXiqF+XbSCFAlyz8G+zrwyJBq tH0wcKKRPLW8RyKHsOCEu6j8G2uVD/BQ4z5qLJyUnLapP2R24teVN+aQnELFpw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638485577; a=rsa-sha256; cv=none; b=a30PNWJIBVrpPgczmtNYGXxKbWNYvMJQRSqFQS2zJVJ4GIOhSr+OPUr7UWbhKT5yoh/dNe 4GvfF/GKgsxtgudPZsPGrs5a6i6yaDprwGLQ3tlS/UOROGNuqSh95uoHaIvcerR5cjNktm HlloVdqA+8fpazYNLpbhN8qXMcVgJf3+d7UleU5ag9dAzBXyhkvA/ZkzxqcJtxJaty3Rlw rc4OjFSqXI74Yg9/PEaFF/qwZ7U43LzieTzmCI0yVO96bUbcETf9laUTZ4+bzCmQXasO2x WvSzrAPpFY4A/EPbNTHSRdOJ/efYU2jiQbIThOCWOZk0jXSMyLjYqsDsXRDY3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=0ea3e4a27bc0d1b0fdf876c3ef89d790e29ad5b1 commit 0ea3e4a27bc0d1b0fdf876c3ef89d790e29ad5b1 Author: Konstantin Belousov AuthorDate: 2021-12-02 18:02:26 +0000 Commit: Konstantin Belousov 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;