svn commit: r227205 - stable/8/sys/kern

Max Khon fjoe at FreeBSD.org
Sun Nov 6 09:27:40 UTC 2011


Author: fjoe
Date: Sun Nov  6 09:27:40 2011
New Revision: 227205
URL: http://svn.freebsd.org/changeset/base/227205

Log:
  Fix the build with KLD_DEBUG defined.

Modified:
  stable/8/sys/kern/kern_linker.c

Modified: stable/8/sys/kern/kern_linker.c
==============================================================================
--- stable/8/sys/kern/kern_linker.c	Sun Nov  6 09:17:48 2011	(r227204)
+++ stable/8/sys/kern/kern_linker.c	Sun Nov  6 09:27:40 2011	(r227205)
@@ -632,7 +632,7 @@ linker_file_unload(linker_file_t file, i
 		 */
 		if ((error = module_unload(mod)) != 0) {
 			KLD_DPF(FILE, ("linker_file_unload: module %s"
-			    " failed unload\n", mod));
+			    " failed unload\n", module_getname(mod)));
 			return (error);
 		}
 		MOD_XLOCK;


More information about the svn-src-all mailing list