From: Ben Gras Date: Wed, 14 Jan 2009 08:54:17 +0000 (+0000) Subject: don't print if we're already printing to serial. X-Git-Tag: v3.1.4~135 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=ef2867de410a82791d161215083cfbf79a13ae95;p=minix.git don't print if we're already printing to serial. --- diff --git a/kernel/utility.c b/kernel/utility.c index b2635ef78..03549c366 100755 --- a/kernel/utility.c +++ b/kernel/utility.c @@ -82,6 +82,7 @@ int c; /* character to append */ kmess.km_next = (kmess.km_next + 1) % _KMESS_BUF_SIZE; } else { int p, outprocs[] = OUTPUT_PROCS_ARRAY; + if(do_serial_debug) return; if(minix_panicing || do_serial_debug) return; for(p = 0; outprocs[p] != NONE; p++) { if(isokprocn(outprocs[p]) && !isemptyn(outprocs[p])) {