Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jun 2010 22:54:41 +0000 (UTC)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r209374 - user/jmallett/octeon/sys/mips/cavium/usb
Message-ID:  <201006202254.o5KMsfE2041131@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmallett
Date: Sun Jun 20 22:54:41 2010
New Revision: 209374
URL: http://svn.freebsd.org/changeset/base/209374

Log:
  DPRINTF -> DPRINTFN where a level is specified.

Modified:
  user/jmallett/octeon/sys/mips/cavium/usb/octusb.c

Modified: user/jmallett/octeon/sys/mips/cavium/usb/octusb.c
==============================================================================
--- user/jmallett/octeon/sys/mips/cavium/usb/octusb.c	Sun Jun 20 22:40:46 2010	(r209373)
+++ user/jmallett/octeon/sys/mips/cavium/usb/octusb.c	Sun Jun 20 22:54:41 2010	(r209374)
@@ -337,7 +337,7 @@ octusb_host_control_data_tx(struct octus
 
 	if (td->remainder > rem) {
 		td->error_any = 1;
-		DPRINTF(1, "Excess setup transmit data\n");
+		DPRINTFN(1, "Excess setup transmit data\n");
 		return (0);		/* done */
 	}
 	usbd_copy_out(td->pc, td->offset, td->qh->fixup_buf + td->qh->fixup_off, td->remainder);
@@ -462,7 +462,7 @@ octusb_non_control_data_tx(struct octusb
 
 		if (rem == 0) {
 			/* should not happen */
-			DPRINTF(1, "Fixup buffer is too small\n");
+			DPRINTFN(1, "Fixup buffer is too small\n");
 			td->error_any = 1;
 			return (0);	/* done */
 		}
@@ -590,7 +590,7 @@ octusb_non_control_data_rx(struct octusb
 
 		if (rem == 0) {
 			/* should not happen */
-			DPRINTF(1, "Fixup buffer is too small\n");
+			DPRINTFN(1, "Fixup buffer is too small\n");
 			td->error_any = 1;
 			return (0);	/* done */
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006202254.o5KMsfE2041131>