From nobody Fri May 26 21:38:53 2023 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 4QSdbL0xfrz4THy8; Fri, 26 May 2023 21:38:54 +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 4QSdbL0SM6z3MYr; Fri, 26 May 2023 21:38:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685137134; 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=3OqQT9PNQ76tOPAp6aGY1f1Mkrho/szm5vQP7vxslxo=; b=hiGIDrGmBSjQ/oiVi1JcxMqMLOWfa1GRVj+VIKAe/gpY2uQ+OHYNsyoLf68Vhk9Ur7b7Eb Kb9+qa3NjK2KUvDEiyKxlfmyQlC+mpUzpOBv50Yk1mvbhj6pV7WfPBowtv4KqFP4QtWWa7 IebZtRgeaoN3OntNsbSE8t7xgeu2sbl5BNDvbBJB24E3MB4xv3jtFrdW97PaAU2Abwa+pb iiPQ2yUhg5uqqzEcNOvNwYsYeV0PoF5TaZUVFLKRkrKCnShr7+bTsnkG8uhgEYlkjWrzsn VjU2b3TQ1BxeWzSnSyizqRWJfE8A0c4xInd96PpPgSZ3iD75rmAQWePa60JFDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685137134; 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=3OqQT9PNQ76tOPAp6aGY1f1Mkrho/szm5vQP7vxslxo=; b=j9d5y3lRQySDYRS3W0MPPjjzJs7m8Xa4u3vXDSz249u6nWAssLmfnt215EJ90ziv0kvfq3 9JT4me5lOAEnBzjsq1n4hH29XH3sgBuoZ8ayMKEALdyjhyA7YN26cHKrChYd6PTKKfuyX0 NhK5wsWtPKS3N2vFvnPq5kONK1zt2DgD8wc9r52eHtiaJOD+wgxhi/6CP4d1TTYEPIHEjC DqzqbFDl2XSFTva0J+7QPX+yb83dQiC6t8dfTrfDhSRE0SxFapPleC3gUeMBdRGwY6eFaK x8Gz6anC/wi7xo/gTxojK+3j3ZfdFVpzOObJ4YHwj4Spk6Fo8aONTYUe76MIZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685137134; a=rsa-sha256; cv=none; b=sO26qkjaH0PCGhnCQJpzeVBLrGAvA9sogXcNHTzCTXOYZdFgFd2nylMDX6d3CHA0SGy5Vc B6UnGGSiBaDCME0jAZtlp0fZ2nwptRcNzgnCwt89Nns7G3fzARgyzgBaNOCaMFYnZr/TMF QqbG42KBre/GmDKws1yV9HkdycT6Nu0FiPrDFoQQfh8lUNNmtZ5xBK2TmcRlJaV0XqtFdQ BatmzZtpinW12KIY64QtI5ue6N7wGBlf4W/6VG0p4gFw8RIirPNHJkW6I3vcYj88CZbiy+ i6a2dtOPWV39z/onT2e5mJW6XvZqsgJdN7Yr4CBUP+rVYCKmY4queOM1mk1JVg== 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 4QSdbK6Yz4zMlC; Fri, 26 May 2023 21:38:53 +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 34QLcrIG045625; Fri, 26 May 2023 21:38:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34QLcrUD045624; Fri, 26 May 2023 21:38:53 GMT (envelope-from git) Date: Fri, 26 May 2023 21:38:53 GMT Message-Id: <202305262138.34QLcrUD045624@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: da8c3d21490f - main - tests: Fix format strings 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: da8c3d21490fe791f8e4405216d5490dbea4dbe5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=da8c3d21490fe791f8e4405216d5490dbea4dbe5 commit da8c3d21490fe791f8e4405216d5490dbea4dbe5 Author: Mark Johnston AuthorDate: 2023-05-26 21:38:06 +0000 Commit: Mark Johnston CommitDate: 2023-05-26 21:38:06 +0000 tests: Fix format strings Reported by: Jenkins Fixes: 844942888f7d ("tests: Add a simple regression test for ptrace(PT_SC_REMOTE)") --- tests/sys/kern/ptrace_test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/sys/kern/ptrace_test.c b/tests/sys/kern/ptrace_test.c index 49670fbf102e..0a0f219d6f36 100644 --- a/tests/sys/kern/ptrace_test.c +++ b/tests/sys/kern/ptrace_test.c @@ -4344,8 +4344,8 @@ ATF_TC_BODY(ptrace__PT_SC_REMOTE_getpid, tc) ATF_REQUIRE_MSG(pscr.pscr_ret.sr_error == 0, "remote getpid failed with error %d", pscr.pscr_ret.sr_error); ATF_REQUIRE_MSG(pscr.pscr_ret.sr_retval[0] == fpid, - "unexpected return value %lu instead of %d", - pscr.pscr_ret.sr_retval[0], fpid); + "unexpected return value %jd instead of %d", + (intmax_t)pscr.pscr_ret.sr_retval[0], fpid); wpid = waitpid(fpid, &status, 0); REQUIRE_EQ(wpid, fpid); @@ -4360,8 +4360,8 @@ ATF_TC_BODY(ptrace__PT_SC_REMOTE_getpid, tc) ATF_REQUIRE_MSG(pscr.pscr_ret.sr_error == 0, "remote getppid failed with error %d", pscr.pscr_ret.sr_error); ATF_REQUIRE_MSG(pscr.pscr_ret.sr_retval[0] == getpid(), - "unexpected return value %lu instead of %d", - pscr.pscr_ret.sr_retval[0], fpid); + "unexpected return value %jd instead of %d", + (intmax_t)pscr.pscr_ret.sr_retval[0], fpid); wpid = waitpid(fpid, &status, 0); REQUIRE_EQ(wpid, fpid);