From nobody Fri Nov 13 01:00:07 2026 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 4jQf7C47Lbz6xxN1 for ; Fri, 13 Nov 2026 01:00:07 +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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jQf7C1W47z4hJ6 for ; Fri, 13 Nov 2026 01:00:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794531607; 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=BxCNNFcTo6+2DxVnA4XTc4tQNYhSwHfeg7WGI2QnCAQ=; b=vrDFhch+PXS0tGHB5SK27q5vRywcs+W1X14W7JjdeDIM/1eYRFdvH13JpQBEynOz+iCp3A papA0ItiN67p+oLqHxjyAL7ksIJ8ijYLt7R54AbdlJlnf278Sx8WWSxt25PxV5aGDVbr0h SGEMF733Zmni8qqllLt01g9yFrrr+6mNq0qb1NtPb8fMAw6+bzsHna0vRTKKZ1Ouul8siw LkOGzOs+BfSZ0D/vYG8Q2kjLQ4eUEKIgcRW6cwklSyODz1jXjpZZbfLCtYYi8JQN9fCn+/ plFa6Me52IMkqX/UuczCZLN1iZWmXeU+D8eqshQG4B4U/nzk0MZcjlLMoD8EfA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1794531607; b=aEtuqbDABipDvnr1TbFB/oRqO2wwCotxHaOp0tL6o16Ldx/Fwoc8zdd1IOKsRFYZop1uYm 0xbT7F18ZbSRiQFQJeFY6LlBhDa8YKWtyqq/O+je5lIXzfhaZbCc2jWGLV0Ft3CdUVQHVk rbuqX8LMG7mq8HEnIVkA42dlVd/beCBPssjgUWXOHEdlkrTxNekS9vaHzEdiSnkg6DcGhF kPujR6zQrkdfTj5n2xfP6PiA1Y6VdDntQmUX8WPjJX9oJvga1uG/tHxYubuXOokrNUmIBt ZtJmDVgg607raFUTZ9zgUFDwPCXZ7nErsvLI34k1Z/LBvZjRyTiYa/z/CEWwtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794531607; 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=BxCNNFcTo6+2DxVnA4XTc4tQNYhSwHfeg7WGI2QnCAQ=; b=xBHCM/TtSZFd1onSbtneKfySD+kjl9XmwwoOrebFOjzieSgPX50o5ebjfAWH2U72dpwgPn pN/KYmvwIGkxUrV37iu4q2ynlpI1x1m4fuvwtsliGQsGIgiZhkcva9g3nmOHVjh2GfLFyL QssuFWHv1jApMcxPkc1M0kJNx/IRLRpaVUpOwmh5wqqwbqyW6iINRkFBaiZPuJ+buqUyOa E5PITEf6C3aVJ2/4kX5ev9TVX98lyoMEe9cixYXJzFKMNWlift4+a/Ydj6lVyTSOU6qk0u VtGEYeWYx7c0kGn8EkVGyXT3EQeXzqZCnHpmh8rEJMxl+K00yvKUYRa03qJ0/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jQf7C0s7qz1Ptc for ; Fri, 13 Nov 2026 01:00:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1830b by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 13 Nov 2026 01:00:07 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Enji Cooper Subject: git: 043d6753ca7c - main - Correct some nits in the prior commit (de6328af0c8c) List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ngie X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 043d6753ca7c1c1e3ffa09a9f953f0df50d3a22e Auto-Submitted: auto-generated Date: Fri, 13 Nov 2026 01:00:07 +0000 Message-Id: <6af66117.1830b.572a0048@gitrepo.freebsd.org> The branch main has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=043d6753ca7c1c1e3ffa09a9f953f0df50d3a22e commit 043d6753ca7c1c1e3ffa09a9f953f0df50d3a22e Author: Enji Cooper AuthorDate: 2026-11-13 00:56:40 +0000 Commit: Enji Cooper CommitDate: 2026-11-13 00:59:56 +0000 Correct some nits in the prior commit (de6328af0c8c) - Remove unnecessary casts. - Use the right printf qualifier (%z is for *`size_t`; %j is for *`maxint_t`). I was mixing up `off_t` in my head. MFC after: 1 week Noted by: des (IRC) Fixes: de6328af0c8c ("tests/sys/kern/ssl_sendfile: :eagain_vs_eof: ...") --- tests/sys/kern/ssl_sendfile.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/tests/sys/kern/ssl_sendfile.c b/tests/sys/kern/ssl_sendfile.c index d44296c90750..0f3b0d309e96 100644 --- a/tests/sys/kern/ssl_sendfile.c +++ b/tests/sys/kern/ssl_sendfile.c @@ -474,8 +474,7 @@ ATF_TC_BODY(eagain_vs_eof, tc) */ ATF_REQUIRE(pthread_mutex_lock(&c.mtx) == 0); sendme_locked_wait(&c, 0, FSIZE, true); - ATF_REQUIRE_MSG(c.sbytes > 0, "c.sbytes <= 0: %jd", - (ossl_ssize_t)c.sbytes); + ATF_REQUIRE_MSG(c.sbytes > 0, "c.sbytes <= 0: %zd", c.sbytes); ATF_REQUIRE(SSL_get_error(c.srv, c.sbytes) == 0); #if 0 /* see https://github.com/openssl/openssl/issues/29742 */ ATF_REQUIRE(BIO_should_retry(SSL_get_wbio(c.srv))); @@ -485,8 +484,7 @@ ATF_TC_BODY(eagain_vs_eof, tc) * Exercise second attempt on already full buffer. */ sendme_locked_wait(&c, 0, FSIZE, true); - ATF_REQUIRE_MSG(c.sbytes == -1, "c.sbytes != -1: %jd", - (ossl_ssize_t)c.sbytes); + ATF_REQUIRE_MSG(c.sbytes == -1, "c.sbytes != -1: %zd", c.sbytes); ATF_REQUIRE(SSL_get_error(c.srv, c.sbytes) == SSL_ERROR_WANT_WRITE); ATF_REQUIRE(BIO_should_retry(SSL_get_wbio(c.srv))); @@ -507,8 +505,7 @@ ATF_TC_BODY(eagain_vs_eof, tc) * rather than asserts that this is a correct behavior. */ sendme_locked_wait(&c, FSIZE, 0, true); - ATF_REQUIRE_MSG(c.sbytes == 0, "c.sbytes != 0: %jd", - (ossl_ssize_t)c.sbytes); + ATF_REQUIRE_MSG(c.sbytes == 0, "c.sbytes != 0: %zd", c.sbytes); ATF_REQUIRE(SSL_get_error(c.srv, c.sbytes) == SSL_ERROR_SYSCALL); #if 0 /* see https://github.com/openssl/openssl/issues/29742 */ ATF_REQUIRE(!BIO_should_retry(SSL_get_wbio(c.srv))); @@ -518,8 +515,7 @@ ATF_TC_BODY(eagain_vs_eof, tc) * Exercise short write due to end of file. */ sendme_locked_wait(&c, FSIZE - 100, 0, true); - ATF_REQUIRE_MSG(c.sbytes == 100, "c.sbytes != 100: %jd", - (ossl_ssize_t)c.sbytes); + ATF_REQUIRE_MSG(c.sbytes == 100, "c.sbytes != 100: %zd", c.sbytes); ATF_REQUIRE(SSL_get_error(c.srv, c.sbytes) == 0); #if 0 /* see https://github.com/openssl/openssl/issues/29742 */ ATF_REQUIRE(!BIO_should_retry(SSL_get_wbio(c.srv))); @@ -540,4 +536,4 @@ ATF_TP_ADD_TCS(tp) ATF_TP_ADD_TC(tp, eagain_vs_eof); return atf_no_error(); -} +} \ No newline at end of file