Skip to contentSkip to conversation

libxl: Correct paths in libxl__fill_dom0_memory_info function

PATCH Applied Eamon Walsh 3 participants 3 messages Jan 6, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxl: Correct paths in libxl__fill_dom0_memory_info function

---

tools/libxl/libxl.c +2 -2
diff -r 4e108cf56d07 tools/libxl/libxl.c
@@ -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;
Signature · 2 lines
Eamon Walsh 
National Security Agency