Date: Wed, 22 Apr 2026 07:36:22 +0000 From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 4d062dbc20dc - main - kdump(1): add sys/ prefix for exterror source file name Message-ID: <69e87a76.21b4d.646e9ad@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=4d062dbc20dce5a94da8dca1253ac9337b951c51 commit 4d062dbc20dce5a94da8dca1253ac9337b951c51 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2026-04-22 07:35:06 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2026-04-22 07:35:06 +0000 kdump(1): add sys/ prefix for exterror source file name This makes it consistent with libc formatting. Requested by: mckusick Sponsored by: The FreeBSD Foundation MFC after: 1 week --- usr.bin/kdump/kdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 9ebd18646474..75bee040a92c 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -2464,7 +2464,7 @@ ktrexterr(struct ktr_exterr *ke) ue = &ke->ue; asprintf(&msg, ue->msg, (uintmax_t)ue->p1, (uintmax_t)ue->p2); - printf("{ errno %d %s:%u \"%s\" (category %u p1 %#jx p2 %#jx) }\n", + printf("{ errno %d sys/%s:%u \"%s\" (category %u p1 %#jx p2 %#jx) }\n", ue->error, cat_to_filename(ue->cat), ue->src_line, msg, ue->cat, (uintmax_t)ue->p1, (uintmax_t)ue->p2); free(msg);home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e87a76.21b4d.646e9ad>
