From nobody Sun Jan 29 22:38:54 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 4P4mSZ3m2vz3cKTS; Sun, 29 Jan 2023 22: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 4P4mSZ3GyCz3sVq; Sun, 29 Jan 2023 22: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=1675031934; 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=KVWaCzqstitW7PfBOTb3w3rOUoGtvJomna6scoxFPmk=; b=Tf/lIL3w6kr+4Npdde1TI2KKZhT5SCkOBhUajuSqwge5PP6mPGooa8PAPtyGGAf8/EgiXy D/S4+roQVP3BUtvVuYyU0H2Sogp6trHs6J/Or+jNnMujNQM4NW71zn8SpVq1OKsgS/ljqc Mjjg9JiyAcHzTuLb8Cdw7d9EcQ3Q8RmY+Ukp8ry4hN1/ikEZ9R1DG0rmepBFleIGtDgJNl na/lPxbHq/vvUS1uNoDjN8JEgNrOB8TZ0e8kqK4DkeU9EY4Sdbi+JCs7e+r/4cuUUKSgag DsgyiM+Alz+zcqCDXtVtt87CFLM9oW5KYbnap6/ctKW160IO9ZCrMQbKZQfVPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675031934; 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=KVWaCzqstitW7PfBOTb3w3rOUoGtvJomna6scoxFPmk=; b=A1jpvQynXS9oq6w7KyXJy68RVzw7fQzsGc0HDFKQdKkEuuqCOs1kLMO14zfiMU1xLI6A+z JLtvHqUKNPVgJn+nQGNBrqSimeiwJP+IUsiT2IEjtvb3hQ/1r9V4t9VmUAY57eumgcCY+/ P4kvt/OcZ5JWuLchSh4JmEFcGgKkTnPEZmx+jIdcHZfB8jZL0bY0T5fTzG7ZtKPNJp23QQ eJ0jSFVLY/WxBI3fOlUCOrw1cOEbApb8yFUXMmif5uFaCrLUfGhp9wUZRZCgFWQFbW4tXh sYF3Oh97CeJwofUlnyJx7PMmk3jvJy0tnM58y6UbBBop+KTfWqRlK9iorzOVzw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675031934; a=rsa-sha256; cv=none; b=qljfsSwUxFruBFSi06ppN98bWdlgvSCCEayppWy5qq6zvFRsBwnxntW0CWIq//nTZA6FHu ua8QXcVTXIGcp6F4QXOm9KEOMoPGwHrl/ce0CR59pDBPJ0eRbxi9jjz2q9rGFm/wWWhh8/ Z3u+G/4pt60te0XGhp3wOS5zKnB9QFVUOadzXq6xxp+kpm4EG2zcPftwRDFrwIDItZdMns egzxij8MbuYWdgCMkaFhQ80LD/mHcaew6P2Vm9tcp3HEZ1oli/Z/vXnEPEhtghVNeDy4Td MIc1YS1+iZP1giKj6v1IYdrg77eYWdSqEyPEf2gbJm971nFw/QRfedElaJvPtg== 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 4P4mSZ2Ld3zlHn; Sun, 29 Jan 2023 22:38:54 +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 30TMcsUt007490; Sun, 29 Jan 2023 22:38:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30TMcsBO007489; Sun, 29 Jan 2023 22:38:54 GMT (envelope-from git) Date: Sun, 29 Jan 2023 22:38:54 GMT Message-Id: <202301292238.30TMcsBO007489@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Xin LI Subject: git: 37399d5bcf67 - main - usr.bin/stat: Fix error message formatting. 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: delphij X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 37399d5bcf67c6d68e30a34ce2df30e0964d46d9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by delphij: URL: https://cgit.FreeBSD.org/src/commit/?id=37399d5bcf67c6d68e30a34ce2df30e0964d46d9 commit 37399d5bcf67c6d68e30a34ce2df30e0964d46d9 Author: Jamie Landeg-Jones AuthorDate: 2023-01-29 22:37:25 +0000 Commit: Xin LI CommitDate: 2023-01-29 22:37:25 +0000 usr.bin/stat: Fix error message formatting. PR: bin/261657 MFC after: 3 days --- 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 dca7363f4fcc..0033ff2258a6 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);