Date: Mon, 20 Feb 2012 01:05:17 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r231923 - head/sys/kern Message-ID: <201202200105.q1K15HRB024037@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Mon Feb 20 01:05:17 2012 New Revision: 231923 URL: http://svn.freebsd.org/changeset/base/231923 Log: 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 Modified: head/sys/kern/kern_linker.c Modified: head/sys/kern/kern_linker.c ============================================================================== --- head/sys/kern/kern_linker.c Mon Feb 20 00:56:32 2012 (r231922) +++ head/sys/kern/kern_linker.c Mon Feb 20 01:05:17 2012 (r231923) @@ -2115,7 +2115,7 @@ linker_load_dependencies(linker_file_t l } 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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202200105.q1K15HRB024037>