Module Name: src
Committed By: plunky
Date: Wed Feb 24 17:34:56 UTC 2010
Modified Files:
src/sys/dev/usb: uthum.c
Log Message:
print end of line before getting the descriptor as it sleeps
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/usb/uthum.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/uthum.c
diff -u src/sys/dev/usb/uthum.c:1.1 src/sys/dev/usb/uthum.c:1.2
--- src/sys/dev/usb/uthum.c:1.1 Sat Feb 6 11:14:41 2010
+++ src/sys/dev/usb/uthum.c Wed Feb 24 17:34:56 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: uthum.c,v 1.1 2010/02/06 11:14:41 tonio Exp $ */
+/* $NetBSD: uthum.c,v 1.2 2010/02/24 17:34:56 plunky Exp $ */
/* $OpenBSD: uthum.c,v 1.6 2010/01/03 18:43:02 deraadt Exp $ */
/*
@@ -137,6 +137,9 @@
sc->sc_hdev.sc_report_id = uha->reportid;
sc->sc_num_sensors = 0;
+ aprint_normal("\n");
+ aprint_naive("\n");
+
uhidev_get_report_desc(uha->parent, &desc, &size);
repid = uha->reportid;
sc->sc_ilen = hid_report_size(desc, size, hid_input, repid);