diff options
author | peter <peter@FreeBSD.org> | 1998-11-06 15:10:17 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-11-06 15:10:17 +0000 |
commit | d620d61682ae13ad87adef81b40487e5949ed660 (patch) | |
tree | dc9bbcd203830e9c5d6fdc2d6833efb56eb8d24a /sys/kern | |
parent | 4328efd60f4571707b8f94a69b5e74bd796770c5 (diff) | |
download | FreeBSD-src-d620d61682ae13ad87adef81b40487e5949ed660.zip FreeBSD-src-d620d61682ae13ad87adef81b40487e5949ed660.tar.gz |
Define the kld_debug variable if KLD_DEBUG is enabled
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_linker.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c index 7a2b1f2..d4698ad 100644 --- a/sys/kern/kern_linker.c +++ b/sys/kern/kern_linker.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_linker.c,v 1.13 1998/11/03 14:27:05 peter Exp $ + * $Id: kern_linker.c,v 1.14 1998/11/04 15:20:56 peter Exp $ */ #include "opt_ddb.h" @@ -47,6 +47,10 @@ #include <sys/vnode.h> #include <sys/sysctl.h> +#ifdef KLD_DEBUG +int kld_debug = 0; +#endif + MALLOC_DEFINE(M_LINKER, "kld", "kernel linker"); linker_file_t linker_current_file; linker_file_t linker_kernel_file; |