From owner-svn-src-head@freebsd.org Tue Feb 13 17:38:09 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E002F140DA; Tue, 13 Feb 2018 17:38:09 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C42085B83; Tue, 13 Feb 2018 17:38:09 +0000 (UTC) (envelope-from ian@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4302C23EA4; Tue, 13 Feb 2018 17:38:09 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1DHc93v097230; Tue, 13 Feb 2018 17:38:09 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1DHc9au097229; Tue, 13 Feb 2018 17:38:09 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201802131738.w1DHc9au097229@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ian set sender to ian@FreeBSD.org using -f From: Ian Lepore Date: Tue, 13 Feb 2018 17:38:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329224 - head/sys/kern X-SVN-Group: head X-SVN-Commit-Author: ian X-SVN-Commit-Paths: head/sys/kern X-SVN-Commit-Revision: 329224 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2018 17:38:09 -0000 Author: ian Date: Tue Feb 13 17:38:08 2018 New Revision: 329224 URL: https://svnweb.freebsd.org/changeset/base/329224 Log: Fix bad indentation. Whitespace only, no functional changes. Reported by: bde@ Modified: head/sys/kern/subr_rtc.c Modified: head/sys/kern/subr_rtc.c ============================================================================== --- head/sys/kern/subr_rtc.c Tue Feb 13 17:05:50 2018 (r329223) +++ head/sys/kern/subr_rtc.c Tue Feb 13 17:38:08 2018 (r329224) @@ -156,55 +156,55 @@ settime_task_func(void *arg, int pending) static void clock_dbgprint_hdr(device_t dev, int rw) { - struct timespec now; + struct timespec now; - getnanotime(&now); - device_printf(dev, "%s at ", (rw & CLOCK_DBG_READ) ? "read " : "write"); - clock_print_ts(&now, 9); - printf(": "); + getnanotime(&now); + device_printf(dev, "%s at ", (rw & CLOCK_DBG_READ) ? "read " : "write"); + clock_print_ts(&now, 9); + printf(": "); } void clock_dbgprint_bcd(device_t dev, int rw, const struct bcd_clocktime *bct) { - if (show_io & rw) { - clock_dbgprint_hdr(dev, rw); - clock_print_bcd(bct, 9); - printf("\n"); - } + if (show_io & rw) { + clock_dbgprint_hdr(dev, rw); + clock_print_bcd(bct, 9); + printf("\n"); + } } void clock_dbgprint_ct(device_t dev, int rw, const struct clocktime *ct) { - if (show_io & rw) { - clock_dbgprint_hdr(dev, rw); - clock_print_ct(ct, 9); - printf("\n"); - } + if (show_io & rw) { + clock_dbgprint_hdr(dev, rw); + clock_print_ct(ct, 9); + printf("\n"); + } } void clock_dbgprint_err(device_t dev, int rw, int err) { - if (show_io & rw) { - clock_dbgprint_hdr(dev, rw); - printf("error = %d\n", err); - } + if (show_io & rw) { + clock_dbgprint_hdr(dev, rw); + printf("error = %d\n", err); + } } void clock_dbgprint_ts(device_t dev, int rw, const struct timespec *ts) { - if (show_io & rw) { - clock_dbgprint_hdr(dev, rw); - clock_print_ts(ts, 9); - printf("\n"); - } + if (show_io & rw) { + clock_dbgprint_hdr(dev, rw); + clock_print_ts(ts, 9); + printf("\n"); + } } void @@ -266,7 +266,7 @@ clock_unregister(device_t clockdev) if (rtc != NULL) { taskqueue_cancel_timeout(taskqueue_thread, &rtc->stask, NULL); taskqueue_drain_timeout(taskqueue_thread, &rtc->stask); - free(rtc, M_DEVBUF); + free(rtc, M_DEVBUF); } }