From eec5799f4c38c30786031f295a5ab833ab20ee6a Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 17 Feb 2015 22:17:30 +0100 Subject: nusb/usbd: fix typo in debug prints, dont use %U format as its not installed --- sys/src/cmd/nusb/usbd/hub.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/src/cmd/nusb/usbd/hub.c b/sys/src/cmd/nusb/usbd/hub.c index 9dbdc5899..760f160aa 100644 --- a/sys/src/cmd/nusb/usbd/hub.c +++ b/sys/src/cmd/nusb/usbd/hub.c @@ -438,10 +438,8 @@ portattach(Hub *h, int p, int sts) 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; -- cgit v1.2.3