Page MenuHomeFreeBSD

D34362.id103579.diff
No OneTemporary

D34362.id103579.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
Sun, Dec 15, 9:50 PM (10 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15417625
Default Alt Text
D34362.id103579.diff (554 B)

Event Timeline