From nobody Wed Feb 01 07:25:18 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 4P6D325q61z3cQD0; Wed, 1 Feb 2023 07:25:18 +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 4P6D325BqLz3G9l; Wed, 1 Feb 2023 07:25:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675236318; 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=o4aaX60fEKqT6PGSwRW7UpaAjeSXLFLksaXKj137qMI=; b=MMtNYLZtBh8RlYTPhm3rXIwUU1sB6v99i1CO2xbOV73z6PHKW7Z+SwNCezIe+W5XDIUzWS 4278DB/ef3xglvQG4P4WcwUoTU9OvNNeQacfA3trmk8gShkPZfOA6gGGp4xtx/ckHNkJMV lHyXEh2jtvw07Qo2nUl7MtZzdRpEQUcReoausI50P3pUCyGMCYlZJsHfpbf7Y4eHbm88yu JE1vTYV2C/cJOajj0LpbRGfVFGOGfZWT58PNH15RyNOYhCWTv0uDZJTqnEOuz71GU58jAv nkjcudrZ6XI8kKroondezNxELhZ5aLpZShtoShiqiCD02jYI7s9bEhz6qlb/kQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675236318; 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=o4aaX60fEKqT6PGSwRW7UpaAjeSXLFLksaXKj137qMI=; b=HWUWFZl3z2A/e3/pz5Q67OiF9HMSRI3mIWi32f4p+olcKQtfU2SR/0dr2EUAricwwb4k5Z bKfLddzzTfol77E3NPsGWhsY9q+aQGDNQ2iNfMHRYsOspF0oeQy89vLWV0GvKGprXYcnjU s2WJ6KvQgLPOWC9MdGR7FnO8D3zrke3JfTPp+44hk15GGaWJ/2qX/vW4ILCHy7JgJ+1GzD GAIQvF6mZsg8PeKdoocfCv4I0tvcWBXdf6SjG6Ofq9SiJ3ULzSiBQGwUdfO/zkSMb8YGwJ 5kp+cdhuSjtTYIQSnzRjSQcsPsu/OmxqJMER0rgKg3BIlkRUsKa3smfmMceY1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675236318; a=rsa-sha256; cv=none; b=F7GkcnL8CiKVoqhhSWpf5IMYhB29k9o+kBlG34PfNhdg1YQr3i6U1oTM9pWwLA1EdNMS/L RtRu0rzxIc77Edy16BuVm7CPtTZjFIV90AuGKOhDaRBjrBoXP3kwZcr/5ulh6PZtXL3PTB 4jSK79tch7aKfcEtkkch/V+5fvZIlLqdMHte/0QxUHlBWSxmmZ9aBAM6y4mnfmKZ4DB9K4 /zIdMZXfU8u9BhNHhiYUm9+u6qOGZP4Dp0G4zf50qePV84jNLjnu5jJu4cclsaySDLZFRR NxGemfWyNN/rO8m2s2xr5FfSu8KDnb/0Ibzeb/niQ48YCCjjD38HclK4SHta+g== 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 4P6D3248HDz1Kqg; Wed, 1 Feb 2023 07:25:18 +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 3117PIOS090498; Wed, 1 Feb 2023 07:25:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3117PIE7090497; Wed, 1 Feb 2023 07:25:18 GMT (envelope-from git) Date: Wed, 1 Feb 2023 07:25:18 GMT Message-Id: <202302010725.3117PIE7090497@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Xin LI Subject: git: 9eea81e59641 - stable/13 - usr.bin/stat: Fix error message formatting. 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: delphij X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 9eea81e59641df1a5a45dbe06628081bc4bb7bad Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by delphij: URL: https://cgit.FreeBSD.org/src/commit/?id=9eea81e59641df1a5a45dbe06628081bc4bb7bad commit 9eea81e59641df1a5a45dbe06628081bc4bb7bad Author: Jamie Landeg-Jones AuthorDate: 2023-01-29 22:37:25 +0000 Commit: Xin LI CommitDate: 2023-02-01 07:24:52 +0000 usr.bin/stat: Fix error message formatting. PR: bin/261657 (cherry picked from commit 37399d5bcf67c6d68e30a34ce2df30e0964d46d9) --- usr.bin/stat/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/stat/stat.c b/usr.bin/stat/stat.c index 9d94399a6333..8229e742da87 100644 --- a/usr.bin/stat/stat.c +++ b/usr.bin/stat/stat.c @@ -373,7 +373,7 @@ main(int argc, char *argv[]) errs = 1; linkfail = 1; if (!quiet) - warn("%s: stat", file); + warn("%s", file); } else output(&st, file, statfmt, fn, nonl);