]> xenbits.xensource.com Git - people/vhanquez/xen-unstable.git/commitdiff
libxl: Correct paths in libxl__fill_dom0_memory_info function
authorEamon Walsh <ewalsh@tycho.nsa.gov>
Thu, 6 Jan 2011 17:28:13 +0000 (17:28 +0000)
committerEamon Walsh <ewalsh@tycho.nsa.gov>
Thu, 6 Jan 2011 17:28:13 +0000 (17:28 +0000)
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.c

index 6caa147bfda5d15946fa33ee855473a612dbbf47..8f6561a87e4d924eb9489f9de79b071d6c5142be 100644 (file)
@@ -2838,8 +2838,8 @@ retry_transaction:
     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;