summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-11-29 03:26:16 +0100
committerGravatar Nikias Bassen2012-11-29 03:26:16 +0100
commitd2b82f9a8330a995a3e913adf734ac2b9ece9916 (patch)
tree3185b3e14b7f3e07f31c64676db683317685cbb2 /tools
parentc366b98bc7c7e414ba03471720af6acbdd399dcf (diff)
downloadlibimobiledevice-d2b82f9a8330a995a3e913adf734ac2b9ece9916.tar.gz
libimobiledevice-d2b82f9a8330a995a3e913adf734ac2b9ece9916.tar.bz2
idevicedebugserver: fix small bug in error message
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicedebugserverproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicedebugserverproxy.c b/tools/idevicedebugserverproxy.c
index 4487647..83aa479 100644
--- a/tools/idevicedebugserverproxy.c
+++ b/tools/idevicedebugserverproxy.c
@@ -312,7 +312,7 @@ int main(int argc, char *argv[])
}
if (idevice_connect(device, port, &connection) != IDEVICE_E_SUCCESS) {
- fprintf(stderr, "Connection to debugserver port %d failed!\n", (int)&port);
+ fprintf(stderr, "Connection to debugserver port %d failed!\n", (int)port);
result = EXIT_FAILURE;
goto leave_cleanup;
}