From 636b946674a1fe6f4f581fc9d0ef111a955d42c5 Mon Sep 17 00:00:00 2001 From: tholo Date: Mon, 16 Sep 1996 07:56:19 +0000 Subject: [PATCH] Be less verbose if we have been compiled without DEBUG --- sys/kern/kern_lkm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- 2.20.1