From d004fc1e31ce0293b51841c13a14ebf6ecc9e6ec Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 18 Oct 2003 12:16:17 +0000 Subject: I think rwatson got the sign wrong here... --- sys/kern/tty_cons.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/tty_cons.c') diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c index b8e8a3c..5ebbe8b 100644 --- a/sys/kern/tty_cons.c +++ b/sys/kern/tty_cons.c @@ -539,7 +539,7 @@ cncheckc(void) STAILQ_FOREACH(cnd, &cn_devlist, cnd_next) { cn = cnd->cnd_cn; #ifdef DDB - if (!db_active || (cn->cn_flags & CN_FLAG_NODEBUG)) { + if (!db_active || !(cn->cn_flags & CN_FLAG_NODEBUG)) { #endif c = cn->cn_checkc(cn); if (c != -1) { @@ -564,7 +564,7 @@ cnputc(int c) STAILQ_FOREACH(cnd, &cn_devlist, cnd_next) { cn = cnd->cnd_cn; #ifdef DDB - if (!db_active || (cn->cn_flags & CN_FLAG_NODEBUG)) { + if (!db_active || !(cn->cn_flags & CN_FLAG_NODEBUG)) { #endif if (c == '\n') cn->cn_putc(cn, '\r'); -- cgit v1.1