shithub: riscv

Download patch

ref: eec5799f4c38c30786031f295a5ab833ab20ee6a
parent: 5c84044f5167483515a91239bc0420fe645c6a4e
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Feb 17 17:17:30 EST 2015

nusb/usbd: fix typo in debug prints, dont use %U format as its not installed

--- a/sys/src/cmd/nusb/usbd/hub.c
+++ b/sys/src/cmd/nusb/usbd/hub.c
@@ -438,10 +438,8 @@
 		if(usbcmd(nd, Rh2d|Rstd|Rdev, Rsetconf, 1, 0, nil, 0) < 0)
 			goto Fail;
 	}
-	dprint(2, "%s: %U", argv0, nd);
 	pp->state = Pconfiged;
-	dprint(2, "%s: %s: port %d: configed: %s\n",
-			argv0, d->dir, p, nd->dir);
+	dprint(2, "%s: %s: port %d: configured: %s\n", argv0, d->dir, p, nd->dir);
 	return pp->dev = nd;
 Fail:
 	pp->state = Pdisabled;