From owner-svn-src-all@FreeBSD.ORG Mon Nov 12 20:50:12 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CF94FCE; Mon, 12 Nov 2012 20:50:12 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 02D838FC08; Mon, 12 Nov 2012 20:50:12 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qACKoBYM002770; Mon, 12 Nov 2012 20:50:11 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qACKoBQX002769; Mon, 12 Nov 2012 20:50:11 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201211122050.qACKoBQX002769@svn.freebsd.org> From: Dimitry Andric Date: Mon, 12 Nov 2012 20:50:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242931 - head/sys/i386/xen X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2012 20:50:12 -0000 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