FreeBSD Bugzilla – Attachment 214799 Details for
Bug 246688
[PATCH] hints file version mismatch error in dmesg is ambiguous
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for changing error message in dmesg
kern_linker_msg_fix.patch (text/plain), 783 bytes, created by
Ashish Gupta
on 2020-05-24 01:11:18 UTC
(
hide
)
Description:
Patch for changing error message in dmesg
Filename:
MIME Type:
Creator:
Ashish Gupta
Created:
2020-05-24 01:11:18 UTC
Size:
783 bytes
patch
obsolete
>Index: sys/kern/kern_linker.c >=================================================================== >--- sys/kern/kern_linker.c (revision 361256) >+++ sys/kern/kern_linker.c (working copy) >@@ -1852,7 +1852,7 @@ > * XXX: we need to limit this number to some reasonable value > */ > if (vattr.va_size > LINKER_HINTS_MAX) { >- printf("hints file too large %ld\n", (long)vattr.va_size); >+ printf("linker.hints file too large %ld\n", (long)vattr.va_size); > goto bad; > } > hints = malloc(vattr.va_size, M_TEMP, M_WAITOK); >@@ -1870,7 +1870,7 @@ > intp = (int *)hints; > ival = *intp++; > if (ival != LINKER_HINTS_VERSION) { >- printf("hints file version mismatch %d\n", ival); >+ printf("linker.hints file version mismatch %d\n", ival); > goto bad; > } > bufend = hints + vattr.va_size;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 246688
: 214799