From owner-svn-src-stable@freebsd.org Fri Sep 30 13:49:51 2016 Return-Path: Delivered-To: svn-src-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B377EC0258D; Fri, 30 Sep 2016 13:49:51 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 83DDDC03; Fri, 30 Sep 2016 13:49:51 +0000 (UTC) (envelope-from royger@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8UDnomm066705; Fri, 30 Sep 2016 13:49:50 GMT (envelope-from royger@FreeBSD.org) Received: (from royger@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8UDnovN066704; Fri, 30 Sep 2016 13:49:50 GMT (envelope-from royger@FreeBSD.org) Message-Id: <201609301349.u8UDnovN066704@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: royger set sender to royger@FreeBSD.org using -f From: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Date: Fri, 30 Sep 2016 13:49:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r306501 - stable/10/sys/kern X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2016 13:49:51 -0000 Author: royger Date: Fri Sep 30 13:49:50 2016 New Revision: 306501 URL: https://svnweb.freebsd.org/changeset/base/306501 Log: MFC r299064 rtc: fix inverted resolution check Modified: stable/10/sys/kern/subr_rtc.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/kern/subr_rtc.c ============================================================================== --- stable/10/sys/kern/subr_rtc.c Fri Sep 30 13:47:52 2016 (r306500) +++ stable/10/sys/kern/subr_rtc.c Fri Sep 30 13:49:50 2016 (r306501) @@ -84,7 +84,7 @@ clock_register(device_t dev, long res) / { if (clock_dev != NULL) { - if (clock_res > res) { + if (clock_res <= res) { if (bootverbose) device_printf(dev, "not installed as " "time-of-day clock: clock %s has higher "