]> Git Repo - qemu.git/blobdiff - qga/channel-posix.c
tests: fw_cfg: add 'reboot-timeout' test case
[qemu.git] / qga / channel-posix.c
index 3f34465159948887c6a2d8cda71a2d4b9c330acb..5a925a9818430eff0ebe5a3b68de555196dfd93c 100644 (file)
@@ -2,7 +2,7 @@
 #include <termios.h>
 #include "qapi/error.h"
 #include "qemu/sockets.h"
-#include "qga/channel.h"
+#include "channel.h"
 
 #ifdef CONFIG_SOLARIS
 #include <stropts.h>
@@ -190,7 +190,7 @@ static gboolean ga_channel_open(GAChannel *c, const gchar *path,
         if (fd < 0) {
             Error *local_err = NULL;
 
-            fd = unix_listen(path, NULL, strlen(path), &local_err);
+            fd = unix_listen(path, &local_err);
             if (local_err != NULL) {
                 g_critical("%s", error_get_pretty(local_err));
                 error_free(local_err);
This page took 0.02524 seconds and 4 git commands to generate.