debuggers.hg

changeset 22705:99555fe2c817

libxl: Correct paths in libxl__fill_dom0_memory_info function

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>
author Eamon Walsh <ewalsh@tycho.nsa.gov>
date Thu Jan 06 17:28:13 2011 +0000 (2011-01-06)
parents 4c2efce5a808
children 21ee14d775ff
files tools/libxl/libxl.c
line diff
     1.1 --- a/tools/libxl/libxl.c	Thu Jan 06 17:26:53 2011 +0000
     1.2 +++ b/tools/libxl/libxl.c	Thu Jan 06 17:28:13 2011 +0000
     1.3 @@ -2838,8 +2838,8 @@ retry_transaction:
     1.4      t = xs_transaction_start(ctx->xsh);
     1.5  
     1.6      target = libxl__xs_read(gc, t, target_path);
     1.7 -    staticmax = libxl__xs_read(gc, t, target_path);
     1.8 -    freememslack = libxl__xs_read(gc, t, target_path);
     1.9 +    staticmax = libxl__xs_read(gc, t, max_path);
    1.10 +    freememslack = libxl__xs_read(gc, t, free_mem_slack_path);
    1.11      if (target && staticmax && freememslack) {
    1.12          rc = 0;
    1.13          goto out;