summaryrefslogtreecommitdiff
path: root/sys/dev/pv/xen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pv/xen.c')
-rw-r--r--sys/dev/pv/xen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pv/xen.c b/sys/dev/pv/xen.c
index cfb709471a4..3314f82950a 100644
--- a/sys/dev/pv/xen.c
+++ b/sys/dev/pv/xen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xen.c,v 1.89 2017/07/21 20:00:47 mikeb Exp $ */
+/* $OpenBSD: xen.c,v 1.90 2017/08/10 20:13:57 mikeb Exp $ */
/*
* Copyright (c) 2015, 2016, 2017 Mike Belopuhov
@@ -305,6 +305,7 @@ xen_hypercall(struct xen_softc *sc, int op, int argc, ...)
va_start(ap, argc);
for (i = 0; i < argc; i++)
argv[i] = (ulong)va_arg(ap, ulong);
+ va_end(ap);
return (xen_hypercallv(sc, op, argc, argv));
}