summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/nusb/usbd/hub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/cmd/nusb/usbd/hub.c b/sys/src/cmd/nusb/usbd/hub.c
index 573a0fd36..3f7147476 100644
--- a/sys/src/cmd/nusb/usbd/hub.c
+++ b/sys/src/cmd/nusb/usbd/hub.c
@@ -135,10 +135,10 @@ Config:
static void
configroothub(Hub *h)
{
- Dev *d;
- char buf[128];
+ char buf[1024];
char *p;
int nr;
+ Dev *d;
d = h->dev;
h->nport = 2;