aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libxc/xc_misc.c')
-rw-r--r--tools/libxc/xc_misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/libxc/xc_misc.c b/tools/libxc/xc_misc.c
index a99aebb8ad..a029d791ba 100644
--- a/tools/libxc/xc_misc.c
+++ b/tools/libxc/xc_misc.c
@@ -421,18 +421,18 @@ int xc_hvm_inject_msi(
xc_interface *xch, domid_t dom, uint64_t addr, uint32_t data)
{
DECLARE_HYPERCALL;
- DECLARE_HYPERCALL_BUFFER(struct xen_hvm_inj_msi, arg);
+ DECLARE_HYPERCALL_BUFFER(struct xen_hvm_inject_msi, arg);
int rc;
arg = xc_hypercall_buffer_alloc(xch, arg, sizeof(*arg));
if ( arg == NULL )
{
- PERROR("Could not allocate memory for xc_hvm_inj_msi hypercall");
+ PERROR("Could not allocate memory for xc_hvm_inject_msi hypercall");
return -1;
}
hypercall.op = __HYPERVISOR_hvm_op;
- hypercall.arg[0] = HVMOP_inj_msi;
+ hypercall.arg[0] = HVMOP_inject_msi;
hypercall.arg[1] = HYPERCALL_BUFFER_AS_ARG(arg);
arg->domid = dom;