aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/libxc/xc_private.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/tools/libxc/xc_private.c b/tools/libxc/xc_private.c
index 94cc947400..ea3798ebca 100644
--- a/tools/libxc/xc_private.c
+++ b/tools/libxc/xc_private.c
@@ -114,11 +114,7 @@ int xc_mmuext_op(
goto out1;
}
- if ( (ret = do_xen_hypercall(xc_handle, &hypercall)) < 0 )
- {
- fprintf(stderr, "Dom_mmuext operation failed (rc=%ld errno=%d)-- need to"
- " rebuild the user-space tool set?\n",ret,errno);
- }
+ ret = do_xen_hypercall(xc_handle, &hypercall);
safe_munlock(op, nr_ops*sizeof(*op));
@@ -227,11 +223,7 @@ int xc_memory_op(int xc_handle,
break;
}
- if ( (ret = do_xen_hypercall(xc_handle, &hypercall)) < 0 )
- {
- fprintf(stderr, "hypercall failed (rc=%ld errno=%d)-- need to"
- " rebuild the user-space tool set?\n",ret,errno);
- }
+ ret = do_xen_hypercall(xc_handle, &hypercall);
switch ( cmd )
{