nusb/usbd: fix dump %U formatter
This commit is contained in:
parent
71397d51d0
commit
07674f6e8d
2 changed files with 2 additions and 1 deletions
|
@ -670,7 +670,7 @@ dump(void)
|
|||
mustdump = 0;
|
||||
for(h = hubs; h != nil; h = h->next)
|
||||
for(i = 1; i <= h->nport; i++)
|
||||
fprint(2, "%s: hub %#p %s port %d: %U",
|
||||
fprint(2, "%s: hub %#p %s port %d: %U\n",
|
||||
argv0, h, h->dev->dir, i, h->port[i].dev);
|
||||
|
||||
}
|
||||
|
|
|
@ -460,6 +460,7 @@ main(int argc, char **argv)
|
|||
|
||||
busyfd = create("/env/usbbusy", ORCLOSE, 0600);
|
||||
quotefmtinstall();
|
||||
fmtinstall('U', Ufmt);
|
||||
initevent();
|
||||
rfork(RFNOTEG);
|
||||
switch(rfork(RFPROC|RFMEM|RFNOWAIT)){
|
||||
|
|
Loading…
Reference in a new issue