From nobody Thu Dec 09 00:33:40 2021 X-Original-To: dev-commits-src-branches@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 74C1718C294D; Thu, 9 Dec 2021 00:33:41 +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 4J8ZlT0LFGz4r1B; Thu, 9 Dec 2021 00:33:41 +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 C8C2D1D41A; Thu, 9 Dec 2021 00:33:40 +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 1B90Xex9078240; Thu, 9 Dec 2021 00:33:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B90Xe8Z078239; Thu, 9 Dec 2021 00:33:40 GMT (envelope-from git) Date: Thu, 9 Dec 2021 00:33:40 GMT Message-Id: <202112090033.1B90Xe8Z078239@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 409b9b2454c0 - stable/12 - Style List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/12 X-Git-Reftype: branch X-Git-Commit: 409b9b2454c07299791255a612f4f02d26fe6eca Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639010021; 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=YMjGwzpNAh6RPJZYY2anot7aHVsBtfFvuDZX5VaWXgA=; b=gWETH92EY6YXitA+l64vgDDHgSyQTgqNk0HNYgk02hsbaIDmJGv1YjLNHdTNoGCf1FK+t1 tYbwhwOt5rT3C8ONWDYzJ9cb4IyZcgtI01vzZinpTXxzgOJAvFBFYuAUOLU39uqEi4ZvFO A3gVVNXCiNxWXlk8dwhX3fOpT4VBXwRceAQUCCd4BNSaiVVl6mtwqPVeTS+vw6a9StUzI6 46/XS70ZtypeeFHGKGRGCMzN8UyDUslS3JkL/WdZ1OUWVVnCo7ucIcL4yVjPeJmY57NlU+ hxdZWHsN0oV1V8JecHw6O490AutjMo7PiOeNcK5WVMwUMmUv2iD9s5EEIO+VKQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639010021; a=rsa-sha256; cv=none; b=w1ddPsWvEpCTzZxOaIhj6iZDKVTtSfIks189e0qZljerzVpgAODyHz+ZDjvy2mUHAskOr/ bGTIZ+Th42oat8XRkPL/sVPO/97QZnwqglgf3mUFYboGXGwxSw0QRgHg6oVF/+2f62KWnE Lcy9+xcoNGNK7TySPi+WFZR9e1epM2EcecorPqj1D30SljuIV1ZFM+nQyKMbU4lmjMgMqD 0iQ7TJMPY6IJJO6TZaWzNZ9ql7Qg2UMOwo3aR+szs796UY3HDwc184gRyD0dArXXbFDPNR fXXECwKaK6tv6ZuXNJnTm0YxAFkp25nhmjcJGoXEajaaLgyiOsa14SNeE2U0cA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=409b9b2454c07299791255a612f4f02d26fe6eca commit 409b9b2454c07299791255a612f4f02d26fe6eca Author: Konstantin Belousov AuthorDate: 2021-12-02 18:02:26 +0000 Commit: Konstantin Belousov CommitDate: 2021-12-09 00:32:31 +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 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;