diff options
author | Nikias Bassen | 2009-05-23 13:01:56 +0200 |
---|---|---|
committer | Nikias Bassen | 2009-05-23 13:01:56 +0200 |
commit | f6c4deed001629a408cca62cbf8e82bf303554db (patch) | |
tree | 28a2d66f2d8473ca3640e4bab6789ebd2a195a6d /src | |
parent | f8141b55b230dd4c66b39cee843149bdabe13580 (diff) | |
download | usbmuxd-f6c4deed001629a408cca62cbf8e82bf303554db.tar.gz usbmuxd-f6c4deed001629a408cca62cbf8e82bf303554db.tar.bz2 |
Debugging: print correct usb bus location and dev filename.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -674,8 +674,8 @@ static void *usbmuxd_client_init_thread(void *arg) && dev->descriptor.idProduct <= 0x1293) { if (verbose >= 1) logmsg(LOG_NOTICE, - "%s[%x]: Found device on bus %d, id %d", - __func__, THREAD, bus->location, dev->devnum); + "%s[%x]: Found device on bus %s, id %s", + __func__, THREAD, bus->dirname, dev->filename); found++; // construct packet @@ -1182,7 +1182,7 @@ int main(int argc, char **argv) chmod(USBMUXD_SOCKET_FILE, 0666); - if (verbose >= 3) + if (verbose >= 4) usbmux_set_debug(1); if (!foreground) { |