Date: Mon, 16 Mar 2026 23:39:44 +0000 From: Mitchell Horne <mhorne@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: f0e0c4c52971 - main - jevents: include file path in whitelist error message Message-ID: <69b894c0.22d20.6c20448b@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=f0e0c4c52971f58d41a89690d402520500d286bd commit f0e0c4c52971f58d41a89690d402520500d286bd Author: Mitchell Horne <mhorne@FreeBSD.org> AuthorDate: 2026-03-16 23:25:00 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2026-03-16 23:25:46 +0000 jevents: include file path in whitelist error message A small enhancement. Reviewed by: Ali Mashtizadeh <ali@mashtizadeh.com> Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55830 --- lib/libpmc/pmu-events/jevents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libpmc/pmu-events/jevents.c b/lib/libpmc/pmu-events/jevents.c index 25119cd3c7b8..b129b3706832 100644 --- a/lib/libpmc/pmu-events/jevents.c +++ b/lib/libpmc/pmu-events/jevents.c @@ -769,7 +769,7 @@ static int json_events(const char *fn, * handling. */ json_copystr(map, field, buf, sizeof(buf)); - fprintf(stderr, "Unknown field '%s'!\n", buf); + fprintf(stderr, "Unknown event field '%s' in %s\n", buf, fn); _Exit(1); } }home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b894c0.22d20.6c20448b>
