From d7b0f677cf3689195dcb66b023763817c68e72d4 Mon Sep 17 00:00:00 2001 From: macallan Date: Tue, 7 Feb 2023 09:25:51 +0000 Subject: [PATCH] fix logic-reversing tpyo in putone() --- sys/kern/subr_prf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index 9b845a5780d0..cb9c323cd8c6 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -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 -__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 @@ putone(int c, int flags, struct tty *tp) { struct tty *ctp; int s; - bool do_ps = cold; + bool do_ps = !cold; ctp = NULL; /* XXX gcc i386 -Os */