From f6c4deed001629a408cca62cbf8e82bf303554db Mon Sep 17 00:00:00 2001
From: Nikias Bassen
Date: Sat, 23 May 2009 13:01:56 +0200
Subject: Debugging: print correct usb bus location and dev filename.

---
 src/main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src')

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) {
-- 
cgit v1.1-32-gdbae