From nobody Thu Sep 29 10:59:23 2022 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 4MdVjl4Y6Kz4YMd8; Thu, 29 Sep 2022 10:59:23 +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 4MdVjl3ymBz3SyG; Thu, 29 Sep 2022 10:59:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664449163; 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=wCIJ5kyFAGAwUhyXmNDOBSqc/NWofReuFHT4VqYsBw0=; b=Cxb9mlp+WsgzBzKMLBUKb/kCWPEJOTN0Mbzdr5eI2d1tCY0ma7g9V7T8M1gikRcmror8a+ jaj09SVOcyN9V88Ru5gR/VypucC+OI2WcruCQoP5fZcgzzdz1j3+8zujxIzqs5H/X+Nqit 2SkssqzGtKlHLqm8JPV1jbntkI8sEUjiUwtyOz/E2e2vkCrljrHSNU7R93WQFsXhYpaVxw EQrb+DrS86oRDmghggTgyQsPpR9ARtV2HEnE6CqTpQ6dgPv5nnfPPfRqBxKhP3qKL9JH9S TyRxIE28R+2TLIBFME+9+XCoNWE9kJflGFKWJI1EsxlG3CJeDJ+6XVrIZ+judA== 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 4MdVjl300fznZG; Thu, 29 Sep 2022 10:59:23 +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 28TAxNqN067419; Thu, 29 Sep 2022 10:59:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28TAxNBG067418; Thu, 29 Sep 2022 10:59:23 GMT (envelope-from git) Date: Thu, 29 Sep 2022 10:59:23 GMT Message-Id: <202209291059.28TAxNBG067418@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: 1ed7916188b5 - main - libsa/rarp.c: Change printf format string 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: kd X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1ed7916188b5a9684414387ff88829b304a858ae Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664449163; 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=wCIJ5kyFAGAwUhyXmNDOBSqc/NWofReuFHT4VqYsBw0=; b=TwcDVUaxUfxLBlGuZ79WfIHs6hKyKbnRutjUG4WVd6qdjLmFpw4WLGQl4gH1FJAZuHV1NR gWSDQwEnX5AHKxaL4CWsPHy1IS41dHw6krF6jLUc7EeJ/JJmTgFXQ0zrjtpx9RBBSyXNAa yj+Lfg13Xu3UE9pANgDR38Q9SugxGtDrmPONLtudUNGilRstivs2ZeZh+mxe093nOEKu4p 9cx0Tps9UhjtvrDCf266DJO/R7teCxsIfU/puO6Hvhg8U6qnW1c2KW8Zd/Sx4NS9YwuL6K fExp6Hi365G34Dkk4PQR5PCWFTZnxUzlsm9DHMet+yGrOfufWETcJ4OKun94qw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664449163; a=rsa-sha256; cv=none; b=bK+rpzSh8EvwRQJOo8Sdj8aB8LdCdfbHA9dVWIkge4K+qucFiLcmKmgbpDgmFqg/Yo/NS+ YL/M9wCyFPF1FMkHq5A2Z9M6Vq4gYUVY1o72UCaN5J/36bJYfwMCr5+JQNLkE2IHMhqqc2 cqFu7zKRE1LT/vFGBwjLMwv925X2VJvKbr8b1QHyYHodX9O2FIIcWmOmJyiMtRpCh9hil1 ZN0B0AgHUKkTkEushklWo8vU/ouN7Wi+AP2LbRln6yOoXCAyGiYSYa/8ILdbwUzjjSWq8x A2xxmvwe/Vnv/O6JxA3Vuptywhtmy2PsKUu4B7TzV84jHr2nsuodFtjjyePTRw== 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=1ed7916188b5a9684414387ff88829b304a858ae commit 1ed7916188b5a9684414387ff88829b304a858ae Author: Michał Grzelak AuthorDate: 2022-09-28 10:34:55 +0000 Commit: Kornel Dulęba CommitDate: 2022-09-29 10:51:14 +0000 libsa/rarp.c: Change printf format string Change printf format string to avoid compilation failure when RARP_DEBUG macro is defined. Reviewed by: imp Obtained from: Semihalf Differential Revision: https://reviews.freebsd.org/D36739 --- stand/libsa/rarp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/libsa/rarp.c b/stand/libsa/rarp.c index a81994e51b5c..27123e793b99 100644 --- a/stand/libsa/rarp.c +++ b/stand/libsa/rarp.c @@ -161,7 +161,7 @@ rarprecv(struct iodesc *d, void **pkt, void **payload, time_t tleft, if (n == -1 || n < sizeof(struct ether_arp)) { #ifdef RARP_DEBUG if (debug) - printf("bad len=%d\n", n); + printf("bad len=%zd\n", n); #endif free(ptr); return (-1);