Date: Tue, 13 Feb 2018 17:38:09 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329224 - head/sys/kern Message-ID: <201802131738.w1DHc9au097229@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802131738.w1DHc9au097229>