From nobody Thu Sep 29 10:59:25 2022 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 4MdVjp1GLrz4YMZQ; Thu, 29 Sep 2022 10:59:26 +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 4MdVjn6Bwjz3T2R; Thu, 29 Sep 2022 10:59:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664449165; 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=rVtaxsWwY2jBaPl5RmGt4Wo/E7gqEQz2AtoRDBQq+tc=; b=q4wxHkKpyuzi5UMCLLgUOu2SLZt0Y3cQvaP7tiSHkyMq+ouFhXk1I20bVOO3p+PKT88aAt YMCbyS0lqHnTJjMzNjujlR1UkHXpk+JCwVkzemC96fM2vOWMRaYBVwdhBQyxRO1ZkzzWE6 oGzczHoU7KXdPR1vbutH+AOjrcszNosefaACtSaQbslXQXiKOLNtzbCloqeMfeAq4Gyrnz NrnkLF7aTW90p6mhTO6TbDsN400kDzRf5K9x4rS2zf/6x0z27J+q/qmHmY+L68rrO1i5Vj d/YFT27RBl8QGhynD2Xy+HCG3+huMOUN6h5yig2STbfiMJm7T4KFtChx1JcmHQ== 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 4MdVjn5HRFznLr; Thu, 29 Sep 2022 10:59:25 +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 28TAxPra067477; Thu, 29 Sep 2022 10:59:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28TAxPbF067476; Thu, 29 Sep 2022 10:59:25 GMT (envelope-from git) Date: Thu, 29 Sep 2022 10:59:25 GMT Message-Id: <202209291059.28TAxPbF067476@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Kornel=20Dul=C4=99ba?= Subject: git: c66c6da4f081 - main - libsa/arp.c: Change printf format string 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: kd X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c66c6da4f08187deab6a30d4aeb4d6e82088a046 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664449165; 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=rVtaxsWwY2jBaPl5RmGt4Wo/E7gqEQz2AtoRDBQq+tc=; b=eBs4jkoPQQWln4A/+Mo9yxnagbd2KcBa3XT8FPXRtAqrzJX+XbOmVB+b+5hGluPOMmG9+Q 9xQsBzbL3o+hRzU4ODtYZbXYBuGqCn9wUISMB7JhT5Fc9XjpA+YgV3e7HQ1jFXyRfmuB5j Yw/CtT8vZ9ibAe2w9htzvgad3sNodGntd2ciZHzogeXQ5/dM+ffVAUeF5ahc0o9/Wq8ziV vUEQiSBYYl5vgOOQB/Qug8ZRVnHB83ZhheLS7B1bH1rMs4f8eWpkcaurOFP6CfYDQqSJIX OOcEd9nBzNTsi9MtmgxjykJ40Ec4Zjhbmp5KSCruvGBigw6gcLDznIoGurXUGg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664449165; a=rsa-sha256; cv=none; b=rgX1lIT6jboAgSSfm9Urty/43vdz8+7ENBaslvkoy7mj+04U+OfAZiPa2HyL02150ZwGb+ RwzaD2yRgHGPbpUi4bL4641yrAq+hQele2edOkx1l28AcxLlfmbwckzsrgHFl309/sK5aU J7cjsc+gCxLFKrlNMPZ6d4Zh37lLYK9QrYIDBP0DcbfOVN9EBijbqEhuIIzG3MCijM9ft3 rUjaDdccVLm0Fu0Dm3/WCgaYcVutRkWv+zyXdcK/y8Pviwhe1B1dS+GzxztN2GHELXUDHs rmVS95IzKlZ29rtuSc+SwDHz7hWiRUqa4nwrTyJZkFK0l8uA5DqpbdwF2RaUAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kd: URL: https://cgit.FreeBSD.org/src/commit/?id=c66c6da4f08187deab6a30d4aeb4d6e82088a046 commit c66c6da4f08187deab6a30d4aeb4d6e82088a046 Author: Michał Grzelak AuthorDate: 2022-09-29 05:22:47 +0000 Commit: Kornel Dulęba CommitDate: 2022-09-29 10:51:14 +0000 libsa/arp.c: Change printf format string Change printf format string to avoid compilation failure when ARP_DEBUG macro is defined. Reviewed by: imp Obtained from: Semihalf Differential Revision: https://reviews.freebsd.org/D36735 --- stand/libsa/arp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/libsa/arp.c b/stand/libsa/arp.c index 7d49559b4e04..9152cb2773dd 100644 --- a/stand/libsa/arp.c +++ b/stand/libsa/arp.c @@ -178,7 +178,7 @@ arprecv(struct iodesc *d, void **pkt, void **payload, time_t tleft, void *extra) if (n == -1 || n < sizeof(struct ether_arp)) { #ifdef ARP_DEBUG if (debug) - printf("bad len=%d\n", n); + printf("bad len=%zd\n", n); #endif free(ptr); return (-1);