diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2022-03-07 13:53:05 +0000 | 
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2022-03-07 15:43:19 +0000 | 
| commit | 8dbae4ce32bde42daee050ccfceee5eb2d306786 (patch) | |
| tree | d8f00756eee0e1e4cac32c5826674d8e2f2e26f6 | |
| parent | d9175438c0e77ef2b400601aa8cf8098c82a77a7 (diff) | |
| -rw-r--r-- | sys/kern/kern_ctf.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/sys/kern/kern_ctf.c b/sys/kern/kern_ctf.c index e9a4f98a98dc..aafa75eff097 100644 --- a/sys/kern/kern_ctf.c +++ b/sys/kern/kern_ctf.c @@ -182,10 +182,10 @@ link_elf_ctf_get(linker_file_t lf, linker_ctf_t *lc)  		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; | 
