summaryrefslogtreecommitdiffstats
path: root/sys/i386/xen/clock.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-11-12 20:50:11 +0000
committerdim <dim@FreeBSD.org>2012-11-12 20:50:11 +0000
commitfb83924633f5c89cb1aeb98503bf777376fe4a11 (patch)
treef0c036f8ef3500fdae084dbc332eff53086c91c3 /sys/i386/xen/clock.c
parent47d44b668859a44e5f29816b5d3cd1284f9b24ab (diff)
downloadFreeBSD-src-fb83924633f5c89cb1aeb98503bf777376fe4a11.zip
FreeBSD-src-fb83924633f5c89cb1aeb98503bf777376fe4a11.tar.gz
Fix a minor warning in sys/i386/xen/clock.c.
MFC after: 3 days
Diffstat (limited to 'sys/i386/xen/clock.c')
-rw-r--r--sys/i386/xen/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/xen/clock.c b/sys/i386/xen/clock.c
index f5965bf..4e43a12 100644
--- a/sys/i386/xen/clock.c
+++ b/sys/i386/xen/clock.c
@@ -516,7 +516,7 @@ startrtclock()
__cpu_khz = 1000000ULL << 32;
info = &HYPERVISOR_shared_info->vcpu_info[0].time;
- do_div(__cpu_khz, info->tsc_to_system_mul);
+ (void)do_div(__cpu_khz, info->tsc_to_system_mul);
if ( info->tsc_shift < 0 )
cpu_khz = __cpu_khz << -info->tsc_shift;
else
OpenPOWER on IntegriCloud