summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-05-23 13:01:56 +0200
committerGravatar Nikias Bassen2009-05-23 13:01:56 +0200
commitf6c4deed001629a408cca62cbf8e82bf303554db (patch)
tree28a2d66f2d8473ca3640e4bab6789ebd2a195a6d
parentf8141b55b230dd4c66b39cee843149bdabe13580 (diff)
downloadusbmuxd-f6c4deed001629a408cca62cbf8e82bf303554db.tar.gz
usbmuxd-f6c4deed001629a408cca62cbf8e82bf303554db.tar.bz2
Debugging: print correct usb bus location and dev filename.
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 9e99c1b..7b4fa57 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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) {