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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user