Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2011 09:27:40 +0000 (UTC)
From:      Max Khon <fjoe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r227205 - stable/8/sys/kern
Message-ID:  <201111060927.pA69Re1B012429@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111060927.pA69Re1B012429>