Skip to content

Commit

Permalink
Use uprintf instead of printf for the reason why a kernel module can not
Browse files Browse the repository at this point in the history
be loaded.  This way, the administrator can get response immediately from
the shell session rather than relying on dmesg.

MFC after:	1 month
  • Loading branch information
delphij committed Feb 20, 2012
1 parent 43f9335 commit c86b0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/kern/kern_linker.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit c86b0fb

Please sign in to comment.