From: tholo Date: Mon, 16 Sep 1996 07:56:19 +0000 (+0000) Subject: Be less verbose if we have been compiled without DEBUG X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=636b946674a1fe6f4f581fc9d0ef111a955d42c5;p=openbsd Be less verbose if we have been compiled without DEBUG --- 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: