Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern flip the default and enable kernel timestamps.



details:   https://anonhg.NetBSD.org/src/rev/3a8cda4ec007
branches:  trunk
changeset: 361067:3a8cda4ec007
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Apr 11 15:25:58 2018 +0000

description:
flip the default and enable kernel timestamps.

diffstat:

 sys/kern/subr_prf.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 61a874d4501c -r 3a8cda4ec007 sys/kern/subr_prf.c
--- a/sys/kern/subr_prf.c       Wed Apr 11 10:34:19 2018 +0000
+++ b/sys/kern/subr_prf.c       Wed Apr 11 15:25:58 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_prf.c,v 1.165 2018/04/01 19:29:43 christos Exp $  */
+/*     $NetBSD: subr_prf.c,v 1.166 2018/04/11 15:25:58 christos Exp $  */
 
 /*-
  * Copyright (c) 1986, 1988, 1991, 1993
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.165 2018/04/01 19:29:43 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.166 2018/04/11 15:25:58 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -482,7 +482,7 @@
        putone('>', TOLOG, NULL);
 }
 
-#ifdef KLOG_TIMESTAMP
+#ifndef KLOG_NOTIMESTAMP
 static int needtstamp = 1;
 
 static void
@@ -516,7 +516,7 @@
                return;
        }
 
-#ifdef KLOG_TIMESTAMP
+#ifndef KLOG_NOTIMESTAMP
        if (needtstamp) {
                addtstamp(flags, tp);
                needtstamp = 0;



Home | Main Index | Thread Index | Old Index