From 68bb596b9934dad9629f0c9753faa4412c986ab4 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 29 Jul 2002 20:03:06 +0000 Subject: this should be a DPRINTF --- sys/dev/usb/ukbd.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'sys/dev/usb') diff --git a/sys/dev/usb/ukbd.c b/sys/dev/usb/ukbd.c index dd2fdc53047..b88d6fc0c3d 100644 --- a/sys/dev/usb/ukbd.c +++ b/sys/dev/usb/ukbd.c @@ -1,5 +1,5 @@ -/* $OpenBSD: ukbd.c,v 1.16 2002/07/25 02:18:10 nate Exp $ */ -/* $NetBSD: ukbd.c,v 1.79 2001/12/30 19:37:43 augustss Exp $ */ +/* $OpenBSD: ukbd.c,v 1.17 2002/07/29 20:03:05 nate Exp $ */ +/* $NetBSD: ukbd.c,v 1.82 2002/07/11 21:14:30 augustss Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -360,10 +360,8 @@ ukbd_enable(void *v, int on) /* Should only be called to change state */ if (sc->sc_enabled == on) { -#ifdef UKBD_DEBUG - printf("ukbd_enable: %s: bad call on=%d\n", - USBDEVNAME(sc->sc_hdev.sc_dev), on); -#endif + DPRINTF(("ukbd_enable: %s: bad call on=%d\n", + USBDEVNAME(sc->sc_hdev.sc_dev), on)); return (EBUSY); } -- cgit v1.2.3