From nobody Wed Jun 22 10:08:49 2022 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 303FA866091; Wed, 22 Jun 2022 10:08:50 +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 4LSfH60sp0z4jnW; Wed, 22 Jun 2022 10:08:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655892530; 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=7qcihXXrMk4pL7+skNBTjlG+G6T8xfaXyWMN7HzG5IU=; b=gD2NNhEiRlGy8Rd03wrm81X2AmqSkKyngHnHLL65Fxt6TOtGGEa1U/XAjjijXOWdGHKZPC EHPKxz2ShVAK2znfIjU4BbawqxAY1i1y0M5GQEr2gJJwlZBHbQbJRjZzwLgwz6nZr8oRQI C2eSJQnyS3FR+/UTsamnBO2pyFU5kIp9BtmQMXDx7P+wubdhxMUuTfnAmvNLtj9ukQRTJz ElFAaRylzfuapr5095phMsl5dnrQJyQm7Hn2QlNCNdrPRbIw1qcZm3YDFR4XNM4F8RTi6I jeytl2Z+fIepRsEK6c5izT54M/2R1SX3/Kr79G7YDo7pD5CqWiOYXGsyKkXqxA== 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 EE30624280; Wed, 22 Jun 2022 10:08:49 +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 25MA8nrg089979; Wed, 22 Jun 2022 10:08:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25MA8nkt089978; Wed, 22 Jun 2022 10:08:49 GMT (envelope-from git) Date: Wed, 22 Jun 2022 10:08:49 GMT Message-Id: <202206221008.25MA8nkt089978@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dmitry Chagin Subject: git: b2ae573abd09 - stable/13 - linux: plug a set-but-not-used var 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: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: b2ae573abd093c149b26347badd4dc75383b45ba Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655892530; 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=7qcihXXrMk4pL7+skNBTjlG+G6T8xfaXyWMN7HzG5IU=; b=L51HL8T5qDcno/FiFHZo+7AKThJ0s63WxPCAfLxYtJ2NyKBLLN0ZMUTuC8f6RylCWM1aRH WKNYJ1SC7q5fCJQVeWh4VWdMqJPSUI+bW2N3dNcugCJsOVFpDVA0w6z8iZNh2uflh0A7si twPhoQ+9wLKChgPLi5fJdn2tV7uT7f2NSRYJXdOu5xsw0MaRwl5HP5A8+3VU8yk5sMlFcp UD6HJswvb22RFF/RL8dfGwMMbd9irBtUj579HhWINrhWt6xJJpsVcLzzNo2vXOCiDelR02 Tihi4ZSRqv+5yQAKZAHOzGlOmkPXyEqRaje/nJ3FiOmGvwHd+yZQS06yyMIQ3g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655892530; a=rsa-sha256; cv=none; b=idBQGSzStWqnRaV/3m1neIbiOF9sZHgZVgOufm0dYzXA7aVOvQUhoLCOLjoPF/PbXwri+f N+5yC10gq9pW7CCCFJqz5Ppfr70Uq2HbDY0mj0zaPEkUOJZUHxRjLBM0otO+J9FNZMB16Y Ua/rnflRuqRdFE5iqYyhFdQDTVE/9hfTqZaBD6BL4PFmnSdwt+4q9IVCe33abKpQ/G+kNG 4EBWGJRt5lZvAol/4NhqsqMy/6rga+pwrsgKHTzlxG2f+4bInn22omBwSm+fZ0RZGAXbEA v7rjnlzMlzk7/8A/Du/k51NKEzW4R6Ysi62FOrYIzkYFRVbbfbtUJ9pEQ3Ay+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=b2ae573abd093c149b26347badd4dc75383b45ba commit b2ae573abd093c149b26347badd4dc75383b45ba Author: Mateusz Guzik AuthorDate: 2022-04-19 12:29:46 +0000 Commit: Dmitry Chagin CommitDate: 2022-06-22 10:07:07 +0000 linux: plug a set-but-not-used var Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit 93494e425b95e3b08e11389c877b71298b6a244e) --- sys/compat/linux/linux_sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_sysctl.c b/sys/compat/linux/linux_sysctl.c index e722280a2bbf..36f76c088ca3 100644 --- a/sys/compat/linux/linux_sysctl.c +++ b/sys/compat/linux/linux_sysctl.c @@ -163,7 +163,7 @@ linux_sysctl(struct thread *td, struct linux_sysctl_args *args) sbuf_printf(sb, "} is not implemented"); sbuf_finish(sb); sysctl_string = sbuf_data(sb); - linux_msg(td, "%s", sbuf_data(sb)); + linux_msg(td, "%s", sysctl_string); LIN_SDT_PROBE1(sysctl, linux_sysctl, unsupported_sysctl, sysctl_string); sbuf_delete(sb);