Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2012 20:50:11 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r242931 - head/sys/i386/xen
Message-ID:  <201211122050.qACKoBQX002769@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Mon Nov 12 20:50:11 2012
New Revision: 242931
URL: http://svnweb.freebsd.org/changeset/base/242931

Log:
  Fix a minor warning in sys/i386/xen/clock.c.
  
  MFC after:	3 days

Modified:
  head/sys/i386/xen/clock.c

Modified: head/sys/i386/xen/clock.c
==============================================================================
--- head/sys/i386/xen/clock.c	Mon Nov 12 20:48:52 2012	(r242930)
+++ head/sys/i386/xen/clock.c	Mon Nov 12 20:50:11 2012	(r242931)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211122050.qACKoBQX002769>