Commit: d0682a5f25349f2f50f1faed154d759334cc2ef7
Parent: bd75bd816eccc17473e641dd9fb7a64da280e111
Author: Giovanni Campagna <gcampagna@src.gnome.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-11-04 20:06:25
Tree: 434bca9f94bb2875358700d342fa9c7fc23d8a65

hid2hci: fix regression in /dev format after moving away from libusb The paths under /dev, in the default udev configuration, are formatted with two leading zeros, but the number obtained from sysfs don't have them, so we must convert them to integers and reformat them.

Diffstat

M tools/hid2hci.c | 15 +++++++++- - - - - -

1 files changed, 9 insertions(+), 6 deletions(-)

View Full Diff | Patch