PERFORCE change 146840 for review

Hans Petter Selasky hselasky at FreeBSD.org
Thu Aug 7 14:04:53 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=146840

Change 146840 by hselasky at hselasky_laptop001 on 2008/08/07 14:04:34

	
	Print out a nice line showing the USB symlinks
	by default until the new "usbview" is finished.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb2/core/usb2_dev.c#22 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb2/core/usb2_dev.c#22 (text+ko) ====

@@ -91,8 +91,10 @@
 
 static fo_rdwr_t usb2_read_f;
 static fo_rdwr_t usb2_write_f;
+
 #if __FreeBSD_version > 800009
 static fo_truncate_t usb2_truncate_f;
+
 #endif
 static fo_ioctl_t usb2_ioctl_f;
 static fo_poll_t usb2_poll_f;
@@ -1610,6 +1612,7 @@
 {
 	return (vnops.fo_truncate(fp, length, cred, td));
 }
+
 #endif
 
 /* ARGSUSED */
@@ -2001,7 +2004,7 @@
 			f_tx->symlink[n / 2] =
 			    usb2_alloc_symlink(src, "%s", buf);
 		}
-		DPRINTF("Symlink: %s -> %s\n", buf, src);
+		printf("Symlink: %s -> %s\n", buf, src);
 	}
 
 	DPRINTFN(2, "attached %p/%p\n", f_tx, f_rx);


More information about the p4-projects mailing list