summaryrefslogtreecommitdiff
path: root/usr.sbin/vmd/i8259.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2017-03-24 11:08:44 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2017-03-24 11:08:44 +0000
commit04eb1436a22a7a88da298bc4ee54b2c890e9b53b (patch)
tree2b772280301ea38a3d6dccb5dd79f8f414b2ee08 /usr.sbin/vmd/i8259.c
parent375d6fccc1a672837da55cbe975272d7247135d9 (diff)
Backout mlarkin's previous commit while he is away:
The newly-used function get_input_data() is missing and broke the tree.
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 4e1ca78fa47..1be0daf0251 100644
--- a/usr.sbin/vmd/i8259.c
+++ b/usr.sbin/vmd/i8259.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i8259.c,v 1.9 2017/03/24 09:11:49 mlarkin Exp $ */
+/* $OpenBSD: i8259.c,v 1.10 2017/03/24 11:08:43 reyk 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 = get_input_data(vei);
+ uint8_t data = vei->vei.vei_data;
uint8_t n = 0;
switch (port) {