Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Make debug message print more than the device name



details:   https://anonhg.NetBSD.org/src/rev/27b919771c6c
branches:  trunk
changeset: 755697:27b919771c6c
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Wed Jun 16 20:15:53 2010 +0000

description:
Make debug message print more than the device name

OK mbalmer, jmcneill

diffstat:

 sys/dev/pci/hifn7751.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7a7dafb0e2fe -r 27b919771c6c sys/dev/pci/hifn7751.c
--- a/sys/dev/pci/hifn7751.c    Wed Jun 16 19:30:11 2010 +0000
+++ b/sys/dev/pci/hifn7751.c    Wed Jun 16 20:15:53 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hifn7751.c,v 1.44 2010/02/01 22:34:29 hubertf Exp $    */
+/*     $NetBSD: hifn7751.c,v 1.45 2010/06/16 20:15:53 hubertf Exp $    */
 /*     $FreeBSD: hifn7751.c,v 1.5.2.7 2003/10/08 23:52:00 sam Exp $ */
 /*     $OpenBSD: hifn7751.c,v 1.140 2003/08/01 17:55:54 deraadt Exp $  */
 
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hifn7751.c,v 1.44 2010/02/01 22:34:29 hubertf Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hifn7751.c,v 1.45 2010/06/16 20:15:53 hubertf Exp $");
 
 #include "rnd.h"
 
@@ -2395,7 +2395,7 @@
                 */
 #ifdef HIFN_DEBUG
                if (hifn_debug)
-                       printf(device_xname(&sc->sc_dv), "requeue request\n");
+                       printf("%s: requeue request\n", device_xname(&sc->sc_dv));
 #endif
                free(cmd, M_DEVBUF);
                sc->sc_needwakeup |= CRYPTO_SYMQ;



Home | Main Index | Thread Index | Old Index