diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-04-22 07:35:06 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-04-22 07:35:06 +0000 |
| commit | 4d062dbc20dce5a94da8dca1253ac9337b951c51 (patch) | |
| tree | 54aad563240226ef09ffb6c69d64ad7a5a280275 | |
| parent | 2bff747bb04db6beb19678abc45edd96be0a1347 (diff) | |
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
| -rw-r--r-- | usr.bin/kdump/kdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
