From nobody Wed Feb 1 07:25:46 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 4P6D3b1PzQz3cQ6S; Wed, 1 Feb 2023 07:25:47 +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 4P6D3b0xVbz3GDc; Wed, 1 Feb 2023 07:25:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675236347; 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=n8hCevUmO6AfuVigrO/YjJq3R+o2YQJ/L4jrHI8+wwI=; b=l0jwmtnhDXUiFbNEXfl02umt3J5hWWsRU28T476fsColnbgxrbCuTfGOWmOYj/f62bh7VH FS3Cmm8QMyNqsok+5TsabzNFqZAJZOYYzTqusx4iLXFOa8TRG8ia7gdYbCLp6XGaeeEwpq WJ6SoCVCznxAze9c8qOlcSbpeBSA33kr7HNkb0S65DVxsEEClCUtpdewqZ+zH3s8B+3nV1 fXetg163da/dziMqHhnwFVo1UDWpwAXnrOxCCmGrULLkcxt5qyqQjG+X/UEMCjkXzSuz34 FLmSKDXiWcPqbyFbEOw/TMoIgS6CNeRA533isMu7vLNC+v3VB3fpafhQxTLzNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675236347; 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=n8hCevUmO6AfuVigrO/YjJq3R+o2YQJ/L4jrHI8+wwI=; b=pufRnsER57GKQd4XnXNVpQaKjjqe9mQrL+O+UzsLCuzlK1zLlwdt7TTOOYxY9BOgSx8Z69 zkFqkU9/tDC6uO8lT+ZRgJmZhiZ4NTk6p1A6YcVYFmktrx1xbKSRhrN2ouGOak+vPSkK/r 3HHSuhptlC40hWIMulLmycvcGLELqq3YYJioQYxo/ypv9yVC97W+6Jd3QigkxIGpMw/lw5 VcNI2tcgjP0Kw6PfsqWLGPart0LxDooDsvEbIPKxXtNMkW/ppBQE4JJFyZGhoOkf8glcrN AixUoz/ME8koLabU0aGcK4cXO4W6P1byGDY7FIncFCCDFTqns0f/c4n0NYkiMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675236347; a=rsa-sha256; cv=none; b=wZV9npyIK+1ryoRsS8400sFTXmksxhF4DwESv5lSHsia8UMP+8EOKdXaqcRRO1IIE5Miij Tz7KI4e3rrAFKLsNqB+XgNfek/V6p8ZbI8OwVpZlRngHGWif4xRgxHapxPXkbSNh1B8iiG N2qqBxMUkaxRilc/NUNbFXp8tUjAmQtB+EzWoJbU0mSBRlmZHcCWfR2Vsw+CZjcM/BsREb e5Y+k0Aidpyo4n8dt8+cLZEkjBFvBhjet/l9gIo3B8UHvz5Ip+86wtGP+DFZNvW2zQldEV eBOE8nVVAnT/pybfVGg+IAFBqGwPpeN4JwTpKVKm3gPrJOaUm6nl9f4rPhKN0Q== 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 4P6D3Z75mhz1L4y; Wed, 1 Feb 2023 07:25:46 +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 3117PkQL090688; Wed, 1 Feb 2023 07:25:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3117PkYY090687; Wed, 1 Feb 2023 07:25:46 GMT (envelope-from git) Date: Wed, 1 Feb 2023 07:25:46 GMT Message-Id: <202302010725.3117PkYY090687@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: b2ffd03bbb3e - stable/12 - usr.bin/stat: Fix error message formatting. 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: delphij X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: b2ffd03bbb3e9cfb0cb9a6995a0e23351d2004fb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by delphij: URL: https://cgit.FreeBSD.org/src/commit/?id=b2ffd03bbb3e9cfb0cb9a6995a0e23351d2004fb commit b2ffd03bbb3e9cfb0cb9a6995a0e23351d2004fb Author: Jamie Landeg-Jones AuthorDate: 2023-01-29 22:37:25 +0000 Commit: Xin LI CommitDate: 2023-02-01 07:25:36 +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 0b63a4067caf..e73f62362281 100644 --- a/usr.bin/stat/stat.c +++ b/usr.bin/stat/stat.c @@ -371,7 +371,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);