ia64/xen-unstable

changeset 7401:9d51c5afda92

Remove bogus error message in libxenctrl.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Sat Oct 15 16:25:29 2005 +0100 (2005-10-15)
parents 938f209d886b
children 9d9b75569d0e
files tools/libxc/xc_private.c
line diff
     1.1 --- a/tools/libxc/xc_private.c	Sat Oct 15 16:25:05 2005 +0100
     1.2 +++ b/tools/libxc/xc_private.c	Sat Oct 15 16:25:29 2005 +0100
     1.3 @@ -114,11 +114,7 @@ int xc_mmuext_op(
     1.4          goto out1;
     1.5      }
     1.6  
     1.7 -    if ( (ret = do_xen_hypercall(xc_handle, &hypercall)) < 0 )
     1.8 -    {
     1.9 -        fprintf(stderr, "Dom_mmuext operation failed (rc=%ld errno=%d)-- need to"
    1.10 -                " rebuild the user-space tool set?\n",ret,errno);
    1.11 -    }
    1.12 +    ret = do_xen_hypercall(xc_handle, &hypercall);
    1.13  
    1.14      safe_munlock(op, nr_ops*sizeof(*op));
    1.15  
    1.16 @@ -227,11 +223,7 @@ int xc_memory_op(int xc_handle,
    1.17          break;
    1.18      }
    1.19  
    1.20 -    if ( (ret = do_xen_hypercall(xc_handle, &hypercall)) < 0 )
    1.21 -    {
    1.22 -        fprintf(stderr, "hypercall failed (rc=%ld errno=%d)-- need to"
    1.23 -                " rebuild the user-space tool set?\n",ret,errno);
    1.24 -    }
    1.25 +    ret = do_xen_hypercall(xc_handle, &hypercall);
    1.26  
    1.27      switch ( cmd )
    1.28      {