~ubuntu-branches/ubuntu/saucy/bluez/saucy

« back to all changes in this revision

Viewing changes to tools/hid2hci.c

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-07-04 13:28:49 UTC
  • mfrom: (1.1.38)
  • Revision ID: package-import@ubuntu.com-20120704132849-tmwu1x7p2vxcclt1
Tags: 4.101-0ubuntu1
* New upstream release
* debian/libbluetooth3.symbols:
  - Updated
* debian/patches/10-unregister_interface_on_exit.patch:
* debian/patches/11-explicitly_close.patch:
* debian/patches/python3.patch:
  - Applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
293
293
                goto exit;
294
294
        }
295
295
 
296
 
        snprintf(syspath, sizeof(syspath), "%s/%s", udev_get_sys_path(udev), devpath);
 
296
        snprintf(syspath, sizeof(syspath), "/sys/%s", devpath);
297
297
        udev_dev = udev_device_new_from_syspath(udev, syspath);
298
298
        if (udev_dev == NULL) {
299
299
                fprintf(stderr, "error: could not find '%s'\n", devpath);