Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern fix logic-reversing tpyo in putone()
details: https://anonhg.NetBSD.org/src/rev/8678976ddbf2
branches: trunk
changeset: 373401:8678976ddbf2
user: macallan <macallan%NetBSD.org@localhost>
date: Tue Feb 07 09:25:51 2023 +0000
description:
fix logic-reversing tpyo in putone()
diffstat:
sys/kern/subr_prf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 093e9c4babe5 -r 8678976ddbf2 sys/kern/subr_prf.c
--- a/sys/kern/subr_prf.c Tue Feb 07 06:19:03 2023 +0000
+++ b/sys/kern/subr_prf.c Tue Feb 07 09:25:51 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_prf.c,v 1.197 2023/02/05 21:18:05 mrg Exp $ */
+/* $NetBSD: subr_prf.c,v 1.198 2023/02/07 09:25:51 macallan Exp $ */
/*-
* Copyright (c) 1986, 1988, 1991, 1993
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.197 2023/02/05 21:18:05 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.198 2023/02/07 09:25:51 macallan Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -401,7 +401,7 @@
{
struct tty *ctp;
int s;
- bool do_ps = cold;
+ bool do_ps = !cold;
ctp = NULL; /* XXX gcc i386 -Os */
Home |
Main Index |
Thread Index |
Old Index