summaryrefslogtreecommitdiffstats
path: root/src/guestfs.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-03 01:15:17 +0100
committerRichard Jones <rjones@redhat.com>2009-04-03 01:15:17 +0100
commit8d0068a752ee8e6bc223de5cb7cac5d190a8855e (patch)
tree61246e4ab660bbc1531bb0853c501ef32b3f6fc7 /src/guestfs.c
parent15dbb6973a7af11b81df047194228ea86d46939b (diff)
downloadlibguestfs-8d0068a752ee8e6bc223de5cb7cac5d190a8855e.tar.gz
libguestfs-8d0068a752ee8e6bc223de5cb7cac5d190a8855e.tar.xz
libguestfs-8d0068a752ee8e6bc223de5cb7cac5d190a8855e.zip
Start the generated code and code generator.
Diffstat (limited to 'src/guestfs.c')
-rw-r--r--src/guestfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/guestfs.c b/src/guestfs.c
index ea86f1ba..bbcf7a69 100644
--- a/src/guestfs.c
+++ b/src/guestfs.c
@@ -75,6 +75,7 @@ static void select_main_loop_quit (guestfs_h *g);
#define UNIX_PATH_MAX 108
+/* Also in guestfsd.c */
#define VMCHANNEL_PORT 6666
#define VMCHANNEL_ADDR "10.0.2.4"
@@ -833,7 +834,7 @@ sock_read_event (void *data, int watch, int fd, int events)
* starts up it sends a "magic" value (longer than any possible
* message). Check for this.
*/
- if (len == 0xf5f5f5f5) {
+ if (len == 0xf5f55ff5) {
if (g->state != LAUNCHING)
error (g, "received magic signature from guestfsd, but in state %d",
g->state);