Use uprintf instead of printf for the reason why a kernel module can not
be loaded. This way, the administrator can get response immediately from the shell session rather than relying on dmesg. MFC after: 1 month
This commit is contained in:
parent
43f9335038
commit
c86b0fb582
@ -2115,7 +2115,7 @@ 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 or"
|
||||
uprintf("KLD %s: depends on %s - not available or"
|
||||
" version mismatch\n", lf->filename, modname);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user