[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] libxl: Correct paths in libxl__fill_dom0_memory_info function



Signed-off-by: Eamon Walsh <ewalsh@xxxxxxxxxxxxx>
---


diff -r 4e108cf56d07 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c       Mon Dec 27 08:00:09 2010 +0000
+++ b/tools/libxl/libxl.c       Mon Jan 03 15:21:39 2011 -0500
@@ -2834,8 +2834,8 @@
     t = xs_transaction_start(ctx->xsh);
 
     target = libxl__xs_read(gc, t, target_path);
-    staticmax = libxl__xs_read(gc, t, target_path);
-    freememslack = libxl__xs_read(gc, t, target_path);
+    staticmax = libxl__xs_read(gc, t, max_path);
+    freememslack = libxl__xs_read(gc, t, free_mem_slack_path);
     if (target && staticmax && freememslack) {
         rc = 0;
         goto out;



-- 

Eamon Walsh 
National Security Agency


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.