diff options
author | Nathan Binkert <nate@cvs.openbsd.org> | 2002-07-29 20:03:06 +0000 |
---|---|---|
committer | Nathan Binkert <nate@cvs.openbsd.org> | 2002-07-29 20:03:06 +0000 |
commit | 68bb596b9934dad9629f0c9753faa4412c986ab4 (patch) | |
tree | ca0c9a1bbb56608dbd20e7ee13a13244a3ceaa52 /sys/dev/usb/ukbd.c | |
parent | 6dde5163f86a3be5501e53b192983379ca896017 (diff) |
this should be a DPRINTF
Diffstat (limited to 'sys/dev/usb/ukbd.c')
-rw-r--r-- | sys/dev/usb/ukbd.c | 10 |
1 files changed, 4 insertions, 6 deletions
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); } |