Source-Changes-HG archive

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

[src/trunk]: src/sys/kern revert revision 1.291. log(LOG_WARNING) is not str...



details:   https://anonhg.NetBSD.org/src/rev/af97e371da22
branches:  trunk
changeset: 770145:af97e371da22
user:      apb <apb%NetBSD.org@localhost>
date:      Wed Oct 05 14:28:08 2011 +0000

description:
revert revision 1.291.  log(LOG_WARNING) is not strictly more
noisy than printf().

diffstat:

 sys/kern/kern_synch.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0e360bdd45fc -r af97e371da22 sys/kern/kern_synch.c
--- a/sys/kern/kern_synch.c     Wed Oct 05 14:17:41 2011 +0000
+++ b/sys/kern/kern_synch.c     Wed Oct 05 14:28:08 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_synch.c,v 1.293 2011/10/05 13:22:13 apb Exp $     */
+/*     $NetBSD: kern_synch.c,v 1.294 2011/10/05 14:28:08 apb Exp $     */
 
 /*-
  * Copyright (c) 1999, 2000, 2004, 2006, 2007, 2008, 2009
@@ -69,7 +69,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_synch.c,v 1.293 2011/10/05 13:22:13 apb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_synch.c,v 1.294 2011/10/05 14:28:08 apb Exp $");
 
 #include "opt_kstack.h"
 #include "opt_perfctrs.h"
@@ -1269,7 +1269,7 @@
                if (__predict_false(runtm < 0)) {
                        if (!backwards) {
                                backwards = true;
-                               log(LOG_WARNING, "WARNING: negative runtime; "
+                               printf("WARNING: negative runtime; "
                                    "monotonic clock has gone backwards\n");
                        }
                } else if (__predict_false(sig)) {



Home | Main Index | Thread Index | Old Index