summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-09-16 07:56:20 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-09-16 07:56:20 +0000
commit15e163f592224b890bff13159de07b9e6804fa28 (patch)
treedadb3ffb7ab48da2945e13fbbd297f8a5ffe402e /sys
parent9fbf31dbd589f9f9d042487518d97e00168f343a (diff)
Be less verbose if we have been compiled without DEBUG
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_lkm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_lkm.c b/sys/kern/kern_lkm.c
index 4137b6fe9a7..a9e06c6c48d 100644
--- a/sys/kern/kern_lkm.c
+++ b/sys/kern/kern_lkm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_lkm.c,v 1.9 1996/09/09 14:29:26 mickey Exp $ */
+/* $OpenBSD: kern_lkm.c,v 1.10 1996/09/16 07:56:19 tholo Exp $ */
/* $NetBSD: kern_lkm.c,v 1.31 1996/03/31 21:40:27 christos Exp $ */
/*
@@ -983,7 +983,9 @@ lkmdispatch(lkmtp, cmd)
{
int error = 0; /* default = success */
+#ifdef DEBUG
printf("lkmdispatch: %x %d\n", lkmtp, cmd);
+#endif /* DEBUG */
switch(lkmtp->private.lkm_any->lkm_type) {
case LM_SYSCALL: