From nobody Thu Sep 29 10:59:24 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 4MdVjm5qffz4YMmF; Thu, 29 Sep 2022 10:59:24 +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 4MdVjm59mfz3T6V; Thu, 29 Sep 2022 10:59:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664449164; 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=FTsbcZvzNhVsn9FwDfYVl6+8w+7zD6G3o3s1XLlmX/c=; b=jRtPxSzo6jlaBhzPoZUdTrSzBuqjbxC0ZT74NqhBYPq1MkSNmQJXFanpLQF272++l85o7T xUb/chShnM38YDYfngp1eOgqpW2NuTDui4RVUrmvdbtYfMjCFszMlDgPDCicaAXqoddg2t U5jMKOqWmslryXULyD/r7U2NpzftGVelKPA4pBa/pJdqUT+nTJALWKMDIHNoZPd8alsfuz czdYv6pig7BJk/umDo04JNZq63VXsKgJUqQaMXaU6B6uYxr6r3zCmTj9jXLnSfbo1Yyvhm d6y2bon9ntSYthdZGRjaJtf36vf1AJIElbKAapxliPww0LaMAevGLFPR+uErBg== 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 4MdVjm4DxgznLq; Thu, 29 Sep 2022 10:59:24 +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 28TAxOBe067448; Thu, 29 Sep 2022 10:59:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28TAxOKW067447; Thu, 29 Sep 2022 10:59:24 GMT (envelope-from git) Date: Thu, 29 Sep 2022 10:59:24 GMT Message-Id: <202209291059.28TAxOKW067447@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: ee0d06faa0a5 - main - libsa/rarp.c: Change casted type and printf format 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: ee0d06faa0a5b0e551cac4cfcad68062cb3257c7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664449164; 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=FTsbcZvzNhVsn9FwDfYVl6+8w+7zD6G3o3s1XLlmX/c=; b=cHbaESG0zvu4YDlmESe0WZ4hH5CgMzOSP+XxrS2fcBAoiCZiLrfU7WMOQmRN0UGfeqT99l FS/ijvKQLst7kYpH7XdHDr7zB0nNi4Lher4voSSsqHYspuNzV/uDQ/S5CwAlnGYq2Zs3Yr 5BKbVpknx1Kx8q607pSBo8F66JqaeauAkIwqBBv/NnYXbHTBa47lGzYMVg/qtbkeMFBR8o bWU2GEnkhcwyjTrwgTKey72blDh3nQLxDPqw37CWh7U/JSDJoqJpy463rAQpwzKkKCDUin NBUTYXj0chEV4AZ8QnZ0vA9fbXUgnBB2H0Hk35kwXT98ydkUq9B2eFCG5bVLaw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664449164; a=rsa-sha256; cv=none; b=V1UNLMTgckCT708E8Se8vFjDnzzRgeZSORZEGseRlbB/5zIaBFphcgW1ouTEHWPpCHozmz IbCuXNi4oskmMguzzdDeVoC9pQ6L8lO9zacszfCw5RhsfJ4t8yG9qlTl/bsR3mjNDxfOGS RIfQ+uTLaM+wAMb5H2VJHzMEEzDm/OLIeBiOtWmXomw6mmXDqLDUiX6B/cJB71b7HsQpLx 3tskp85j7ueYqMY2wRUqr7+PehdTAxg0GUXdBv2hSPW78v9vPUkgsuUgQLuxFH2xktr0xK Q8H0/5n4iPvR3Ie0dvjAaFxXKHIR9cmE4HgAFRFlF9pXI0/7bOLqiWZ5BU5Z0Q== 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=ee0d06faa0a5b0e551cac4cfcad68062cb3257c7 commit ee0d06faa0a5b0e551cac4cfcad68062cb3257c7 Author: Michał Grzelak AuthorDate: 2022-09-28 10:36:53 +0000 Commit: Kornel Dulęba CommitDate: 2022-09-29 10:51:14 +0000 libsa/rarp.c: Change casted type and printf format Change the casted type and 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/D36738 --- 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 27123e793b99..72aa2650f15e 100644 --- a/stand/libsa/rarp.c +++ b/stand/libsa/rarp.c @@ -83,7 +83,7 @@ rarp_getipaddress(int sock) } #ifdef RARP_DEBUG if (debug) - printf("rarp: d=%x\n", (u_int)d); + printf("rarp: d=%lx\n", (long)d); #endif bzero((char*)&wbuf.data, sizeof(wbuf.data));