From 056e398239ab3c0757c9ededccddbaceff50a3fb Mon Sep 17 00:00:00 2001 From: Peter Grehan Date: Fri, 2 Oct 2015 22:05:51 +0000 Subject: [PATCH] Fix post-test typo that snuck in. --- usr.sbin/bhyve/fwctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bhyve/fwctl.c b/usr.sbin/bhyve/fwctl.c index 0b5ce84d981..4b6164b8156 100644 --- a/usr.sbin/bhyve/fwctl.c +++ b/usr.sbin/bhyve/fwctl.c @@ -536,7 +536,7 @@ fwctl_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, return (0); } INOUT_PORT(fwctl_wreg, FWCTL_OUT, IOPORT_F_INOUT, fwctl_handler); -INOUT_PORT(fwctl_rreg, FWCTL_IN, IOPORT_F_OUT, fwctl_handler); +INOUT_PORT(fwctl_rreg, FWCTL_IN, IOPORT_F_IN, fwctl_handler); void fwctl_init(void)