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
d75a2818b7
commit
5bfbb59851
@ -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