summaryrefslogtreecommitdiff
path: root/sys/src/cmd/nusb
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-02-17 22:17:30 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2015-02-17 22:17:30 +0100
commiteec5799f4c38c30786031f295a5ab833ab20ee6a (patch)
treefd62d932b5157e3029323902ba6928c3752befd9 /sys/src/cmd/nusb
parent5c84044f5167483515a91239bc0420fe645c6a4e (diff)
nusb/usbd: fix typo in debug prints, dont use %U format as its not installed
Diffstat (limited to 'sys/src/cmd/nusb')
-rw-r--r--sys/src/cmd/nusb/usbd/hub.c4
1 files changed, 1 insertions, 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;