Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb print end of line before getting the descriptor ...
details: https://anonhg.NetBSD.org/src/rev/65faa991dcf6
branches: trunk
changeset: 752371:65faa991dcf6
user: plunky <plunky%NetBSD.org@localhost>
date: Wed Feb 24 17:34:56 2010 +0000
description:
print end of line before getting the descriptor as it sleeps
diffstat:
sys/dev/usb/uthum.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 3d782b365ec7 -r 65faa991dcf6 sys/dev/usb/uthum.c
--- a/sys/dev/usb/uthum.c Wed Feb 24 17:00:25 2010 +0000
+++ b/sys/dev/usb/uthum.c Wed Feb 24 17:34:56 2010 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index