Message ID | 1341605546-3774-1-git-send-email-vianac@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show |
diff --git a/qga/channel-posix.c b/qga/channel-posix.c index 57eea06..ba9c8a6 100644 --- a/qga/channel-posix.c +++ b/qga/channel-posix.c @@ -181,7 +181,7 @@ static gboolean ga_channel_open(GAChannel *c, const gchar *path, GAChannelMethod break; } case GA_CHANNEL_UNIX_LISTEN: { - int fd = unix_listen(path, NULL, strlen(path)); + int fd = unix_listen(path, NULL, 0); if (fd == -1) { g_critical("error opening path: %s", strerror(errno)); return false;