summaryrefslogtreecommitdiff
path: root/usr.sbin/vmd/i8259.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/vmd/i8259.c')
-rw-r--r--usr.sbin/vmd/i8259.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/vmd/i8259.c b/usr.sbin/vmd/i8259.c
index 3aa906051f8..4e1ca78fa47 100644
--- a/usr.sbin/vmd/i8259.c
+++ b/usr.sbin/vmd/i8259.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i8259.c,v 1.8 2017/03/23 06:56:33 mlarkin Exp $ */
+/* $OpenBSD: i8259.c,v 1.9 2017/03/24 09:11:49 mlarkin Exp $ */
/*
* Copyright (c) 2016 Mike Larkin <mlarkin@openbsd.org>
*
@@ -556,7 +556,7 @@ static void
i8259_io_write(union vm_exit *vei)
{
uint16_t port = vei->vei.vei_port;
- uint8_t data = vei->vei.vei_data;
+ uint8_t data = get_input_data(vei);
uint8_t n = 0;
switch (port) {