Page MenuHomeFreeBSD

D34362.diff
No OneTemporary

D34362.diff

diff --git a/sys/kern/kern_ctf.c b/sys/kern/kern_ctf.c
--- a/sys/kern/kern_ctf.c
+++ b/sys/kern/kern_ctf.c
@@ -182,10 +182,10 @@
goto out;
}
- /* Check if version 2. */
- if (cth.cth_version != CTF_VERSION_2) {
- printf("%s(%d): module %s CTF format version is %d "
- "(2 expected)\n",
+ if (cth.cth_version != CTF_VERSION_2 &&
+ cth.cth_version != CTF_VERSION_3) {
+ printf(
+ "%s(%d): module %s CTF format has unsupported version %d\n",
__func__, __LINE__, lf->pathname, cth.cth_version);
error = EFTYPE;
goto out;

File Metadata

Mime Type
text/plain
Expires
Fri, Oct 18, 6:28 PM (9 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14253813
Default Alt Text
D34362.diff (554 B)

Event Timeline