summaryrefslogtreecommitdiff
path: root/usr.sbin/vmd
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2018-04-26 17:21:51 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2018-04-26 17:21:51 +0000
commit1da30736cca6583602637a0c845770eefb287110 (patch)
tree2c7e90c9827520cc9ac084b0486e88c07aa8197e /usr.sbin/vmd
parentf2ef7c45b2561eb0dc719887fd2d3a94f2be21c3 (diff)
vmd(8): some more long lines that got missed last time
Diffstat (limited to 'usr.sbin/vmd')
-rw-r--r--usr.sbin/vmd/i8253.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.sbin/vmd/i8253.c b/usr.sbin/vmd/i8253.c
index 5493c564b8b..13604fa21e7 100644
--- a/usr.sbin/vmd/i8253.c
+++ b/usr.sbin/vmd/i8253.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i8253.c,v 1.20 2018/04/26 17:10:09 mlarkin Exp $ */
+/* $OpenBSD: i8253.c,v 1.21 2018/04/26 17:21:50 mlarkin Exp $ */
/*
* Copyright (c) 2016 Mike Larkin <mlarkin@openbsd.org>
*
@@ -143,10 +143,12 @@ vcpu_exit_i8253_misc(struct vm_run_params *vrp)
/* Port 0x61[5] = counter channel 2 state */
if (i8253_channel[2].state) {
set_return_data(vei, (1 << 5));
- log_debug("%s: counter 2 fired, returning 0x20", __func__);
+ log_debug("%s: counter 2 fired, returning 0x20",
+ __func__);
} else {
set_return_data(vei, 0);
- log_debug("%s: counter 2 clear, returning 0x0", __func__);
+ log_debug("%s: counter 2 clear, returning 0x0",
+ __func__);
}
} else {
log_debug("%s: discarding data written to PIT misc port\n",
@@ -204,7 +206,8 @@ vcpu_exit_i8253(struct vm_run_params *vrp)
*/
if (rw == TIMER_LATCH) {
clock_gettime(CLOCK_MONOTONIC, &now);
- timespecsub(&now, &i8253_channel[sel].ts, &delta);
+ timespecsub(&now, &i8253_channel[sel].ts,
+ &delta);
ns = delta.tv_sec * 1000000000 + delta.tv_nsec;
ticks = ns / NS_PER_TICK;
if (i8253_channel[sel].start) {