From nobody Tue Jan 24 22:12:47 2023 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 4P1h6l6h4kz3bgHH; Tue, 24 Jan 2023 22:12:47 +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 4P1h6l4fTFz3Dnm; Tue, 24 Jan 2023 22:12:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674598367; 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=mkqeJhoAAAOER0IfU41G3YYpiThcYjROxUhXqtii8zY=; b=e8jGT4TMfsggrUc/R+cGr2LvKXVml7zr8rhzfNxWGcK18qdr6wYm/DcTh4riXpoG4yWDXU 3ahCVPHP9WmMk1Ia6AOPx56wDI1WJbiF8sXTbjzdRpIMW2EIO9QQPinCzEOu60iBRCfyS/ Uvb+5CHW2WEpb+c7uySjjnJFZAmaFG8MM2fsj/CG0oHcfyZ58BNZ5z29cdljUP+J37qqWY l62BZpxqbjy3M2/BNcQNBHbNSw6G4vgNGufkbNnZIM8BR245l6A/2kEHdjAFHRV2rq+o36 QbvUI1mTQGWoMoPAlyR1Ex66v6Nh6mR/fx0pvqaJH1WD4npI28/w3e1Bl4l44A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674598367; 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=mkqeJhoAAAOER0IfU41G3YYpiThcYjROxUhXqtii8zY=; b=gUw2WVaE0zNyBwnwSq9gIP6oH76bOiElc611p00LjXw7UgSpBfGt+MtkhQmRPD03ksKoi+ tXSNg2/7A6YEeIcIb11jrKgEKAPnGz3hWQgH6jAf6hoF9OqPpDZ0gDJA1u/CJ2K9rWBxgz qChJ/3BzakLB3vUvjJCEG9RRH2OmU1hHXM9BbTTC8+QkYx7tsiBwMvX2UEsuMhFmPxesaF tj577qYBpfZQb6Q0lDvz/ZoGSb/sqOPZ5SBXGz+3ryG0hZM6abksQAZfsTxC1M2amIbFVP R+a5LnypVBXYZZks781Js2hu60mVLNQ7I7lYjHQhuGRPfJ3OEEogK5nlQMEhEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674598367; a=rsa-sha256; cv=none; b=IBxYT8209EiP0s5PoCoMrF/jsQl9KybZfapZJH91AiyLjAjXsv9qCXGoBAhh5H6l1vtLXB wb1kXMt52yQQaLyoiItiNj6KiP/vkakH3GawyyELpaaXrI2SfMeH/IrQaZZ8QkC190nFaW h0SAzmcPLKp0V7qE+vM2m8CxoS5FW3mBLIR66r57hLXRU6pSu0k29/AGPaCyXeSNLOLwRw VQx0zEwjawpEUTMbTG6zy71sLJt+BMQudUAL9EJPM4MJF7Q/Dl+yI6S1O+wf14JbOWFEeo D22Cp//7Q0I5/QESZs3t0xeDMw/TobxZqv7TwpIOiclizbFdR0KwybXOcLENlw== 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 4P1h6l2DQ6zQYS; Tue, 24 Jan 2023 22:12:47 +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 30OMClH0087510; Tue, 24 Jan 2023 22:12:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30OMClQf087509; Tue, 24 Jan 2023 22:12:47 GMT (envelope-from git) Date: Tue, 24 Jan 2023 22:12:47 GMT Message-Id: <202301242212.30OMClQf087509@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 285714ea7a21 - stable/13 - 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 285714ea7a2194c84cdf4d23a0b92973511040f6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=285714ea7a2194c84cdf4d23a0b92973511040f6 commit 285714ea7a2194c84cdf4d23a0b92973511040f6 Author: MichaƂ Grzelak AuthorDate: 2022-09-29 05:22:47 +0000 Commit: Warner Losh CommitDate: 2023-01-24 21:49:35 +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 (cherry picked from commit c66c6da4f08187deab6a30d4aeb4d6e82088a046) --- 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);