From bdea742cf7056ff852f6b462db1cf4707bbe2cff Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 12 Nov 2012 20:50:11 +0000 Subject: [PATCH] Fix a minor warning in sys/i386/xen/clock.c. MFC after: 3 days --- sys/i386/xen/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/xen/clock.c b/sys/i386/xen/clock.c index f5965bf4f913..4e43a12c03e3 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