shithub: riscv

Download patch

ref: 6ae50ce3303c483b553767dbe422c67c3861abf4
parent: d4213dbce5ae986f53dd415f189ab2ab0645b6d1
author: cinap_lenrek <[email protected]>
date: Sat Jun 6 11:12:50 EDT 2020

devusb: print Hci.port as 64-bit uvlong

--- a/sys/src/9/port/devusb.c
+++ b/sys/src/9/port/devusb.c
@@ -716,7 +716,7 @@
 	 * modern machines have too many usb controllers to list on
 	 * the console.
 	 */
-	dprint("#u/usb/ep%d.0: %s: port 0x%luX irq %d\n",
+	dprint("#u/usb/ep%d.0: %s: port 0x%lluX irq %d\n",
 		epnb, hcitypes[cardno].type, hp->port, hp->irq);
 	epnb++;
 	return hp;