Improve the printf message when a module failed to load. This gives the
user some clue about the possibility of a __FreeBSD_version mismatch. Discussed with: rwatson, jhb Approved by: re (kib)
This commit is contained in:
parent
cbc212df17
commit
2620dac06e
@ -2079,8 +2079,8 @@ linker_load_dependencies(linker_file_t lf)
|
||||
}
|
||||
error = linker_load_module(NULL, modname, lf, verinfo, NULL);
|
||||
if (error) {
|
||||
printf("KLD %s: depends on %s - not available\n",
|
||||
lf->filename, modname);
|
||||
printf("KLD %s: depends on %s - not available or"
|
||||
" version mismatch\n", lf->filename, modname);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user