[libvirt] [PATCH] Fix xs_unwatch() to correctly pass the token

john.levon at sun.com john.levon at sun.com
Wed Jan 14 18:54:18 UTC 2009


# HG changeset patch
# User john.levon at sun.com
# Date 1231958879 28800
# Node ID 672cdb87a32fb0b275bb7cdc9abb9c2d506ec1b0
# Parent  46dc909bda5b20d11f08d1516f21c05f27b6648f
Fix xs_unwatch() to correctly pass the token

Signed-off-by: John Levon <john.levon at sun.com>

diff --git a/src/xs_internal.c b/src/xs_internal.c
--- a/src/xs_internal.c
+++ b/src/xs_internal.c
@@ -1106,7 +1106,7 @@ int xenStoreRemoveWatch(virConnectPtr co
 
             if (!xs_unwatch(priv->xshandle,
                        list->watches[i]->path,
-                       list->watches[i]->path))
+                       list->watches[i]->token))
             {
                 DEBUG0("WARNING: Could not remove watch");
                 /* Not fatal, continue */




More information about the libvir-list mailing list