Changeset babcc423 in mainline for uspace/lib/usbhost/src/bus.c


Ignore:
Timestamp:
2018-01-18T03:06:39Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0f79283b
Parents:
9b8dac4
Message:

usbhost: fix off by one in default name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/bus.c

    r9b8dac4 rbabcc423  
    8989
    9090        char buf[10] = { 0 }; /* usbxyz-ss */
    91         snprintf(buf, sizeof(buf) - 1, "usb%u-%cs",
     91        snprintf(buf, sizeof(buf), "usb%u-%cs",
    9292            dev->address, usb_str_speed(dev->speed)[0]);
    9393
Note: See TracChangeset for help on using the changeset viewer.