summaryrefslogtreecommitdiffstats
path: root/libusbmuxd
diff options
context:
space:
mode:
Diffstat (limited to 'libusbmuxd')
-rw-r--r--libusbmuxd/libusbmuxd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusbmuxd/libusbmuxd.c b/libusbmuxd/libusbmuxd.c
index bf8a31f..9c48ea1 100644
--- a/libusbmuxd/libusbmuxd.c
+++ b/libusbmuxd/libusbmuxd.c
@@ -317,7 +317,7 @@ int usbmuxd_get_device_list(usbmuxd_device_info_t **device_list)
struct usbmuxd_device_record dev_info;
int dev_cnt = 0;
- sfd = connect_unix_socket(USBMUXD_SOCKET_FILE);
+ sfd = connect_usbmuxd_socket();
if (sfd < 0) {
fprintf(stderr, "%s: error opening socket!\n", __func__);
return sfd;