From nobody Fri Mar 10 17:19:19 2023 X-Original-To: dev-commits-ports-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 4PYCTM41P2z3xkFp; Fri, 10 Mar 2023 17:19:19 +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 4PYCTM3Vdtz43sD; Fri, 10 Mar 2023 17:19:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678468759; 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=Th+YaIvImVUErBvFeEo2VCIvXXaPsx9K1wjnr41/sPQ=; b=DWb2VoQI9S2R/aD92DgRwDu9w4HktCGhfwJiAFVkZM+5x75OSFjZLowLqDoKkiRYhVEYrl TnGWcq1CBJuC3iiRW3a1TxY+dt7LvfgwbxOc6f2R5ABlvI/XOOdAronYAPGbeI0cdb0Zs0 79E0hWWfvVuRUc3pf+xkx+l+0SzCr7bQVDapvNM62GZFgE++C10CJirZzMeE7Yndbxw/yr nVUKanMdSlAYgMAbX04wZqZu6UrBUgzVGA3uY3Fa0WFfWj2RlmEsMtcJsYTWOnirRnXhNI lWGfwcWjNcqmWrkvKd/6BRu+XZl5v9G23v0jvpvAKIhIIQ38zR3lueoqw2Ewyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678468759; 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=Th+YaIvImVUErBvFeEo2VCIvXXaPsx9K1wjnr41/sPQ=; b=DztKTjsIv9UCDJ9ZwYVQYOgkxMNMBlkI9Y/RcLs/PsK44BIfSjRd2/GONB2HE1W2oS8L+1 lnQoxF6pM7RdfY08YWJIBCn4yEIIBzCpK/LiXjRu7tecrZM8yaro0W/e4sx+2OgQjHyYbi PvJzySk17NYyDHtTlq/0ySjYbL8hggVOrRjYYRygcRa16T0AOM4SokxvYz0y39/s5PIwQE RwWWciItfCcrMOTKRlpwfpvyJyZn3DAjd3hVPOi7+o8Ji48P40Abk98y9mPk+6eSTpbVSf uENQH88goCDXgwKuXjbk7SuMaBAA0oEtzkJcO2Dpg32xkNZxmQjxSnKNKgCSUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678468759; a=rsa-sha256; cv=none; b=O9EG6EXXz1Wa+P2WCzKxFaun5752qNie7v4j9n7FjZFDho7ra5V6iluCjNFDEYPWCYNKRH 552ibU8OUANHoXHJ4QbHLR3oFx/C8NFyvPpADWMP92xE5kxECQx04EwcSf68eh5DLCqWaK dVYGxeHa8T9pH8WAHcyZkojd0d/G0razVpQPalZGtIBpFAi+ys5RS2MHwwk8d+FrqiCpuz EkIXocPLeWagNLfsotYeh+IsYK6tKAct8+1ZaLBPPMLLjdM1yp0fF+owAfx1QNnBJcB5Zb YFDhsx9ApP0M76tuOAXyDGlf0wcPN528rx+iNE6UYbnyO55d6Kh6YJBStBIqmw== 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 4PYCTM2Sr9zxC4; Fri, 10 Mar 2023 17:19:19 +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 32AHJJLf068542; Fri, 10 Mar 2023 17:19:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32AHJJUN068541; Fri, 10 Mar 2023 17:19:19 GMT (envelope-from git) Date: Fri, 10 Mar 2023 17:19:19 GMT Message-Id: <202303101719.32AHJJUN068541@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: b30205641465 - main - security/pks: use correct format specifier for printing sizeof(). List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b30205641465d18700659c8283c388731be2050d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=b30205641465d18700659c8283c388731be2050d commit b30205641465d18700659c8283c388731be2050d Author: Alexey Dokuchaev AuthorDate: 2023-03-10 17:16:14 +0000 Commit: Alexey Dokuchaev CommitDate: 2023-03-10 17:16:14 +0000 security/pks: use correct format specifier for printing sizeof(). --- security/pks/files/patch-kd_search.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/security/pks/files/patch-kd_search.c b/security/pks/files/patch-kd_search.c index e5e70ad79352..a0fb781bf372 100644 --- a/security/pks/files/patch-kd_search.c +++ b/security/pks/files/patch-kd_search.c @@ -1,13 +1,11 @@ ---- ./kd_search.c.orig 2003-08-04 21:57:34.000000000 +0200 -+++ ./kd_search.c 2014-08-15 18:37:29.000000000 +0200 -@@ -1058,8 +1058,8 @@ +--- kd_search.c.orig 2003-08-04 19:57:34 UTC ++++ kd_search.c +@@ -1058,7 +1058,7 @@ word_key_intersect (void *e, void *c) if (we->len > sizeof (word)) { s->err->fatal = 0; - sprintf (s->err->buf, "search word is greater than %d characters", -- sizeof (word)); -+ sprintf (s->err->buf, "search word is greater than %lu characters", -+ (unsigned long)sizeof (word)); ++ sprintf (s->err->buf, "search word is greater than %zu characters", + sizeof (word)); return (0); } -