Module Name:    src
Committed By:   christos
Date:           Wed Apr 11 15:25:58 UTC 2018

Modified Files:
        src/sys/kern: subr_prf.c

Log Message:
flip the default and enable kernel timestamps.


To generate a diff of this commit:
cvs rdiff -u -r1.165 -r1.166 src/sys/kern/subr_prf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/subr_prf.c
diff -u src/sys/kern/subr_prf.c:1.165 src/sys/kern/subr_prf.c:1.166
--- src/sys/kern/subr_prf.c:1.165	Sun Apr  1 15:29:43 2018
+++ src/sys/kern/subr_prf.c	Wed Apr 11 11:25:58 2018
@@ -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 @@ putlogpri(int level)
 	putone('>', TOLOG, NULL);
 }
 
-#ifdef KLOG_TIMESTAMP
+#ifndef KLOG_NOTIMESTAMP
 static int needtstamp = 1;
 
 static void
@@ -516,7 +516,7 @@ putchar(int c, int flags, struct tty *tp
 		return;
 	}
 
-#ifdef KLOG_TIMESTAMP
+#ifndef KLOG_NOTIMESTAMP
 	if (needtstamp) {
 		addtstamp(flags, tp);
 		needtstamp = 0;

Reply via email to