From nobody Fri Apr 14 10:09:56 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 4PyXHn455Pz44wFF; Fri, 14 Apr 2023 10:09:57 +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 4PyXHn1prDz3vZ6; Fri, 14 Apr 2023 10:09:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681466997; 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=+S5VM+lVx7qL788isvujm5l1wsUYQ4Ct6GhhqmVXGEQ=; b=YaZeflfm6czIUbHQiAqtoe8mQolf+7ysO1pdIggsUUSrLfNxEWryOP973jmeoDrPFOuKB3 D0jfGTmHgQqgLNZD3ymL+OVMxUr8u96JPbNEhZsWg6ebcltIWvSoBtwosAsuanxV5cnJhG r6lOKuuZarx1gMGoEz7MLo3QHWR/skHw3ppjyQUWldow+NXwyBe+mhLXEX6VDM7QWIbv9F 8mGxuz/pPPGeoqDKfD4cc71yqoQehk+JP2cPmExjJ1qXUWJnKS2X4xyPohkoV9wJ1ke7mi umuu02dMA6wmsZ118NKZakgpDiU4oNT6CyKne0QeQjTt6cQeSs/AYe1F63RokQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681466997; 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=+S5VM+lVx7qL788isvujm5l1wsUYQ4Ct6GhhqmVXGEQ=; b=fhn99DNIovoMCp6zP55e+H5nAhGkTaDCujbwNtiPgPsiN4/Q3G/ZLZ3oxJubkk9jVukQ3l VtmUhk6BgOXUrmhPKe38VXyTjFCGyhH1vm0WNm7JgUp6OJx476hOi/0v3Ae4AL9CVbI003 B8qvPckrIphYc/WaY3qT0IL+hPuI1fv34LzMhYfGo8zYXlp5fgF/G5rSyvgJd4IbbZPd+R ETf+e7p+MWqJ0T61SA1sJiA0C0TnJq+ieWbVeMbCh3SO7j6IMl/qATpR7Z2PjpQxYj6FKN NP0+Vc9Jy0sAGy7MyLIR9F21lhf8vmE1jnbQx0YmzubqoDSsEn7D6PMtsYaGkA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681466997; a=rsa-sha256; cv=none; b=mysRN30rxwyEchzl3uyGH5YqLSgHewNtLMe5q8lDX/jawziExp5zuatBQ2aMZ21OCIGIJF 3Q+iZV4Ch1fwwxx5F4BV7JGtkJSYoOKz8pQL3GrjrRIu+sxO1m4uZe4a58YQROIss2BNFf LxtasYJb/FWio2sawJm8f1DJwuADG+V0RySwbIzD0zhuZYUX/GQn+fSndcjNRrx2+4cFSL SKQkxnZYMccAEXbUGQRuHOVCfPSLzOdLZe6y2339KuO0r8kr0wNSD3w4zccUkVJXH9zyuo 9o89k0SKZVHeprsDVm7K+cDRkwxzyuQhJX0K0usLVf+G8RlV8QMhs32WxbfkqA== 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 4PyXHn0pL8zKgd; Fri, 14 Apr 2023 10:09:57 +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 33EA9uL6096910; Fri, 14 Apr 2023 10:09:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33EA9uGu096909; Fri, 14 Apr 2023 10:09:56 GMT (envelope-from git) Date: Fri, 14 Apr 2023 10:09:56 GMT Message-Id: <202304141009.33EA9uGu096909@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: 722b7589cca7 - main - printf.9: Update the use example of the %D conversion specifier 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: zlei X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 722b7589cca704670c3c532bdd0f5d46675df085 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=722b7589cca704670c3c532bdd0f5d46675df085 commit 722b7589cca704670c3c532bdd0f5d46675df085 Author: Zhenlei Huang AuthorDate: 2023-04-14 10:08:56 +0000 Commit: Zhenlei Huang CommitDate: 2023-04-14 10:08:56 +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 --- 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