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:
delphij 2012-02-20 01:05:17 +00:00
parent 43f9335038
commit c86b0fb582

View File

@ -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;
}