From nobody Sun Jun 14 22:32:30 2026 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 4gdp0Z6tsjz6hZQt for ; Sun, 14 Jun 2026 22:32:30 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gdp0Z5FSkz3cSk for ; Sun, 14 Jun 2026 22:32:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781476350; 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=2XFlUeN2IYCQustLobHN3QG9Tht4jMSamXiapfeYPTw=; b=IjcEXnEJzhP7X9lEBEmCydmNJDi0IaBjJU/XoJQVTaGVd+L8H0P/Ses7KdMgE76kbuWurj qAb078eJ+F2Nul+A34HrsdQYMWl7uXcdlTF9Tr+IcO6Eh33HOgNeC0azl0Pw070GNf7uuy X8WlZoYnX69ZGBZbcE688FAZPxPUr4UCq+QXJcVIoP0h3fW4oyh5tdfPInPcSMsI3S7tH4 yNez1fB7nrCFabm3WFfppbjW0wwchtVelBdpFK/GO3oE2vvxpaEibEQa3eXrkivUAVPmHt QpiVO43H65HZf3y5v7gUH1T1T3naEvsCkzc40ONYbB077819AK1xucNX/EtCKQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1781476350; a=rsa-sha256; cv=none; b=RE/JeaRd7SF9VYt+VPpl25/90GRjbh7Tig9eQV73uWr+Jir1HV6oOTbk5+EwusBUBu8JMu EnllH/Umt6c7QjFDTcQpAMLn3NPzl5oCNnbJ1n+fTTFPMmcGe/neToA/iAS1z/IX3iN70V ioJd531GbWQKIQOEaebXZOI7lo9LuSCUE/PW3/X1NpNv0xeGdrYwMJlP19CBeUkuPfTBfW 2FlZ7feGwjbm2lR50D8R4V1T1v+sGdsIXLjRzU4b+9Hn2+bNBrvbnZF88H/CsblhvfySWI bsDn0rW5Di+xuydan/PXxA4xm47z5yeh312jcHc6rI7Fk8q2G7rnW2K6KA8U4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781476350; 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=2XFlUeN2IYCQustLobHN3QG9Tht4jMSamXiapfeYPTw=; b=WvyS8NH9T9HOQHcBmvLHjowQ5Jga6Rm9W3w7VPMBKG4lAPgeCgG/FHV9f/s8qYy3VAvGvy il+qOOgmW7/xkVp+fkyZsf9YJjZnAwI/w77yQuqsJmtVc8vVg23kWEfrYo+yfxaQHgvDv5 AgN2/vQ3G0T0630v5jt0w1SW8wHjgCclrCvAM8u+9LdUKhY1T4W7GjRitAhwrxTM4m98BQ eu0LWt12jcQDgOY7ovgo7GN+V4AjDVQbm9OkGWPvuzJWW69CY5oqyZRh1hTPyaykLAgzfr KC5LUJLV9Dv/CD81vLKnDvsYGirO7nrLRk7M2wMHyqAG7NstG8a4amLnVxu5ZA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gdp0Z4l0jzCj7 for ; Sun, 14 Jun 2026 22:32:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 42e8d by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 14 Jun 2026 22:32:30 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Bjoern A. Zeeb Subject: git: 84008e34ce5f - main - lindebugfs: improve an error message 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 84008e34ce5fb92c69b63cdf1ce2938c5006320b Auto-Submitted: auto-generated Date: Sun, 14 Jun 2026 22:32:30 +0000 Message-Id: <6a2f2bfe.42e8d.2c59e39e@gitrepo.freebsd.org> The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=84008e34ce5fb92c69b63cdf1ce2938c5006320b commit 84008e34ce5fb92c69b63cdf1ce2938c5006320b Author: Bjoern A. Zeeb AuthorDate: 2026-06-10 11:18:47 +0000 Commit: Bjoern A. Zeeb CommitDate: 2026-06-14 22:31:38 +0000 lindebugfs: improve an error message In case the fill function fails do not report (read/write) but the actual operation only given we can easily determine it. Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: dumbbell, emaste Differential Revision: https://reviews.freebsd.org/D57523 --- sys/compat/lindebugfs/lindebugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/compat/lindebugfs/lindebugfs.c b/sys/compat/lindebugfs/lindebugfs.c index 88b92afd374a..89652b5685c4 100644 --- a/sys/compat/lindebugfs/lindebugfs.c +++ b/sys/compat/lindebugfs/lindebugfs.c @@ -191,8 +191,8 @@ debugfs_fill(PFS_FILL_ARGS) if (rc < 0) { #ifdef INVARIANTS - printf("%s:%d read/write failed with %zd\n", __func__, __LINE__, - rc); + printf("%s:%d %s failed with %zd\n", __func__, __LINE__, + (uio->uio_rw == UIO_READ) ? "read" : "write", rc); #endif return (-rc); }