From nobody Tue Feb 20 22:38:37 2024 X-Original-To: dev-commits-src-main@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 4TfZ7d6TTpz59nZx; Tue, 20 Feb 2024 22:38:37 +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 4TfZ7d4HNFz4291; Tue, 20 Feb 2024 22:38:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708468717; 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=s74N349SA5G+d+reNJzPmpYq/0bRxtMcKJG0NY3rtME=; b=K/ryM/eNcicP072cnifMB6igqwG6bupoR0C0aPM0/d8oW5rRFOLMfEy58HzLA2fg0Xqmmq pq7mymbIAxJhgcHfd0BYDAA1J+O8H3vyw44wuVCL5aT3vOssYCyiMHLflkcoRguHJg1yqY RvyuI+10LyjZGVwVPaO1B3AaZNG65w/ZlJBnfGKUkTe0i2hmAuDGjDo4LHhiUX3pKiusDU f8fV051hgF7SnPyHdMVnR22dV76Tqd9lH2et4RFJBDS9hlgR3YbugK9ZRjlgJEl2aM7C3M qGYFP6LyY1BjsEEFre9cx9E6C36pYyLG138Ej3eyYi3NfhJOZQ4AdiGOX32LYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708468717; 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=s74N349SA5G+d+reNJzPmpYq/0bRxtMcKJG0NY3rtME=; b=SGbcOZqRn+XeihwgzGGWsSdr/6rFGrpPydo18FTXvM3QB3tcxZ3Dex8KkdYrOQK29+/DPD 4C7MNkAmlC8OR8KcmvsomK/siS6nnQbKMUDrrrY7jHEdElIQdz96GLM/GU2HqpsQdOKtYm csY6FoHyINnAhuJSRvtRN2HyPQ5ZKb4IQhgYTSyhOo6GhbKuD1HznEWeicPpLFnGiPE/oR ES84DoXkIn1zrAB+w2T4abcSvdzeKAaybqJpNNpuCugOq9n8s3Dn4/R/PCtevogOSrx0Nr MrEC7Alr0EpQOdIyGAb3tLoKzOXLVKKqK5dXJEkKXiVvWcrT4HCPR+Pm31kAog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708468717; a=rsa-sha256; cv=none; b=YdUUzk9KUt6b7NMarFz921hRk8MYfD6yRM2DQEEo+c0yH8LNxkez2+LwAPtFZWq39h3BYS unMe/b2h8whfhITpKW8vAJi9E4F3Xv87BeZ7BxvUrTBJ5f7F7Yieng4sM/PaVSaJP9vkjy 86i8BdQD0qHEKFP+xj07cHIbkXWfI+hI5z+G37ka2oCkauOVYf5xHmXHOJAUk4O50VZG++ 6g7d6xfLI5/kZt+6iKOsMo1Oigk3S2Eh7Kcl+dDPz3Pn5NpYXb1SIeY9uVqdieqFBbaLzo LWty1qJnEVsIo1wX57OtzuqaOJmKii2u5tRDrQIAYBtERFlTUcIAzr1vhTP3Rw== 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 4TfZ7d3N2rzdPR; Tue, 20 Feb 2024 22:38:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41KMcbJ2015192; Tue, 20 Feb 2024 22:38:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41KMcbqb015189; Tue, 20 Feb 2024 22:38:37 GMT (envelope-from git) Date: Tue, 20 Feb 2024 22:38:37 GMT Message-Id: <202402202238.41KMcbqb015189@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: e53b83a849e3 - main - tests/sigsys: initialize parameter passed to sysctlbyname() List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e53b83a849e3a34772d0a0ed26eb0cb4aeeec71d Auto-Submitted: auto-generated The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=e53b83a849e3a34772d0a0ed26eb0cb4aeeec71d commit e53b83a849e3a34772d0a0ed26eb0cb4aeeec71d Author: Gleb Smirnoff AuthorDate: 2024-02-20 22:37:45 +0000 Commit: Gleb Smirnoff CommitDate: 2024-02-20 22:37:45 +0000 tests/sigsys: initialize parameter passed to sysctlbyname() --- tests/sys/kern/sigsys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/kern/sigsys.c b/tests/sys/kern/sigsys.c index 8554a646ebc6..8b9a4e8516e7 100644 --- a/tests/sys/kern/sigsys.c +++ b/tests/sys/kern/sigsys.c @@ -63,7 +63,7 @@ sigsys_test(int knob) static void sysctlset(const char *name, int val) { - size_t oldlen; + size_t oldlen = sizeof(int); int oldval; char buf[80];