From nobody Fri Apr 21 10:11:33 2023 X-Original-To: dev-commits-src-branches@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 4Q2r0P2xw9z46CZJ; Fri, 21 Apr 2023 10:11:33 +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 4Q2r0P2FtQz3NfP; Fri, 21 Apr 2023 10:11:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682071893; 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=8hDnsxT7qHyBPCgjyNdCKFyPJJUQx1v+GhNEff+woK0=; b=yfY/a181W9w+dqzZ/ar+8gPJn4EvSK1lxZSxzaWvNwgzeHVdm8fzKXjl5kL8wqDH1uaBPl hwKWfmMcBbS4e8em0AEM5zgk6bcR0sIt0nnfYRD7mwoLA4pE8kwwXtVOn+1/Py+N7s3TXq +kn7ODgdImDD3/s7XOEgWayZ8oCePJvuVPLa3jPqLPRpbWOhHSD0yi6QuLLqxg4jKTPyrl mihanCYdHaQfTlIacTplDwLKMbjzlRNAKVyOHm+vJNqFxfZdUkMQSj+ltf0r7IetsAhBcG AT9ut35xQLbw+do55wkxYgC6ErkU/0kGjyqetJc9+ItNzab/a7Dw6mtLcSpjjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682071893; 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=8hDnsxT7qHyBPCgjyNdCKFyPJJUQx1v+GhNEff+woK0=; b=g3i9T8PVVy0QHTB/FLZbv1ogH4eynliTYWzLtUYNg5fB/M9OZsf0vA9FWfRK128IWtOY1e wpPtFvgMQwwMp0P/1LU9VXLjOzT+7m8MZcu/raOvrrmcf/lRtRFh4m/Xj4i4qF5/WyYIYG RTopn5xU+fkHPBUyxqaarzZGS0M+7kU9C2u1QjbSu6HrU0X8yNU+E40DRbRF2MaQ+aGKIP Hj7tu3uR/4buk9oxSunix/oiVD5ZXUpd9vumhubgPQ1ca3SebdfYb+lpLPDJll/kMYE14g okJwk2n6tQIvWE69NVYC5d5FzaKHxD7AZ141+Kc9WgftqCIX4B7vqFDryIcqjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682071893; a=rsa-sha256; cv=none; b=fvQjAOH+S9yJp2tRvH+kfSepGSBHYTqflpG63GJ27cqzQISlcGbGnKp5ujsQ+YwGN0QpK+ CUyaafpF0GnIPJKMQaBvkIzj1iUkPYrxecXtVOtCjsEtg3fBqy0VPN2jAs763oJb9WLK/F Whf/ye2RPj5ZIkSKo9Uof/5ZLRw04o4126cy6pI89EI1kXnNKd/7X7wDC7WbPrxRD6NN+G 55vdYI1z40OXaI8XTM3EGN7hlMmRhjDR9BeXw2V/v82AD6PYl56ZsLXQ+P9ggLbAgJABOq FPDokitu6MBbryRVXkVFIl1zmNSW1iaF+ao2o14dRdEo3HxD1odtVkVKCQlPhw== 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 4Q2r0P1CG7zGg1; Fri, 21 Apr 2023 10:11:33 +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 33LABXoL020412; Fri, 21 Apr 2023 10:11:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33LABXsq020411; Fri, 21 Apr 2023 10:11:33 GMT (envelope-from git) Date: Fri, 21 Apr 2023 10:11:33 GMT Message-Id: <202304211011.33LABXsq020411@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: ff7151058e51 - stable/13 - printf.9: Update the use example of the %D conversion specifier List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: ff7151058e51902989b05f39a0569224dae54245 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=ff7151058e51902989b05f39a0569224dae54245 commit ff7151058e51902989b05f39a0569224dae54245 Author: Zhenlei Huang AuthorDate: 2023-04-14 10:08:56 +0000 Commit: Zhenlei Huang CommitDate: 2023-04-21 10:10:12 +0000 printf.9: Update the use example of the %D conversion specifier The output of hexadecimal bytes are in lowercase. Update the example to reflect the reality. Reviewed by: gbe (manpages) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D39543 (cherry picked from commit 722b7589cca704670c3c532bdd0f5d46675df085) --- share/man/man9/printf.9 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/man/man9/printf.9 b/share/man/man9/printf.9 index 4d3a6fb8b2a5..33347fb135ca 100644 --- a/share/man/man9/printf.9 +++ b/share/man/man9/printf.9 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 9, 2020 +.Dd April 14, 2023 .Dt PRINTF 9 .Os .Sh NAME @@ -164,14 +164,14 @@ printf_test(void) { printf("reg=%b\en", 3, "\e10\e2BITTWO\e1BITONE"); - printf("out: %4D\en", "AAAA", ":"); + printf("out: %4D\en", "AAZZ", ":"); } .Ed .Pp will produce the following output: .Bd -literal -offset indent reg=3 -out: 41:41:41:41 +out: 41:41:5a:5a .Ed .Pp The call