aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_netbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libxc/xc_netbsd.c')
-rw-r--r--tools/libxc/xc_netbsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxc/xc_netbsd.c b/tools/libxc/xc_netbsd.c
index 117acedc67..8c82e36645 100644
--- a/tools/libxc/xc_netbsd.c
+++ b/tools/libxc/xc_netbsd.c
@@ -51,7 +51,7 @@ static xc_osdep_handle netbsd_privcmd_open(xc_interface *xch)
goto error;
}
- return (xc_osinteface_handle)fd;
+ return (xc_osdep_handle)fd;
error:
saved_errno = errno;
@@ -181,7 +181,7 @@ static struct xc_osdep_ops netbsd_privcmd_ops = {
.close = &netbsd_privcmd_close,
.u.privcmd = {
- .hypercall = &netbsd_privcmd_hypercall;
+ .hypercall = &netbsd_privcmd_hypercall,
.map_foreign_batch = &netbsd_privcmd_map_foreign_batch,
.map_foreign_bulk = &xc_map_foreign_bulk_compat,