From nobody Thu Dec 09 00:24:07 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 38EC818C0924; Thu, 9 Dec 2021 00:24:08 +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 4J8ZXR6sPRz4pdZ; Thu, 9 Dec 2021 00:24:07 +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 CB3031D205; Thu, 9 Dec 2021 00:24:07 +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 1B90O7ul064248; Thu, 9 Dec 2021 00:24:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B90O7aV064247; Thu, 9 Dec 2021 00:24:07 GMT (envelope-from git) Date: Thu, 9 Dec 2021 00:24:07 GMT Message-Id: <202112090024.1B90O7aV064247@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: 0ab5452ca3a1 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 0ab5452ca3a10f1b285af2c98e2b5ea055cf2e53 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639009448; 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=prS3zAnBtNXwj2O6RdVzG8q6I9wRNd00/hIgB5oVM2A=; b=doXwNRbHYgJLVdFd3rT9vMQtPo+WFCaQlOu4qe6n9TmV12AHEfx3vLcCeOo1GPV24sAWUN 7Jy5N1yn8YTNtw7jq96Rsi/OiTVchVhUuS8VUJmjf1rsJQk5BiwsP94+WnvSNjcVV7/LrO hfgEnhb/LUEEpSJG2YkyZihIc8r0u/SPuTDgvgfYbQPfPKY3tE/9P0Vec6TOfNrQfH7Uv4 7Sx2Yd6jUb62Pkwjb7Z05wIR0W4KxvbbzAyzhrgHLzwTdclFdAaI6OAIMb5f+R+DSkKDT6 GAPqzR+ptzoZcbFc4t84i3oCmkmW0rDV0TpPc07/hDQnyuaAVTVCPgisY4bJuA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639009448; a=rsa-sha256; cv=none; b=myhscKilzKIJ0jm1grmnWutOOueo18p0reubcQjzW+VKg0ILGjCY9y3wcill/+ggM9PFsG olhdnMhbMydIT5pub4yEUqMWkHhC5zZWTbKZVWw74CZbjRQf3kCjmkJyK8u4E4Qtx9FOs/ ZRT8xxWuIM0UDByOsPNFA2xf+Fj+VKZ4Gf3SrtrHN2XRQ6OII0v6mbka5X+vE5Wcpe7R0a Yp9q6Pud8Cm0fG0sKDSgH5BrkBWzdorBmJg+oPGy+57yquCq+VHVPLRB5pbesYoUNPdX3L OEJ8O9NWSc/Hyl93NKo3wUJujOW/XL5HXsi0Sjetc/mao7IhMfiLuBAe4DC0Ag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=0ab5452ca3a10f1b285af2c98e2b5ea055cf2e53 commit 0ab5452ca3a10f1b285af2c98e2b5ea055cf2e53 Author: Konstantin Belousov AuthorDate: 2021-12-02 18:02:26 +0000 Commit: Konstantin Belousov 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;