svn commit: r199636 - projects/ppc64/sys/powerpc/mambo
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sat Nov 21 16:16:31 UTC 2009
Author: nwhitehorn
Date: Sat Nov 21 16:16:30 2009
New Revision: 199636
URL: http://svn.freebsd.org/changeset/base/199636
Log:
Add another check on the return value from reading the Mambo console.
Modified:
projects/ppc64/sys/powerpc/mambo/mambo_console.c
Modified: projects/ppc64/sys/powerpc/mambo/mambo_console.c
==============================================================================
--- projects/ppc64/sys/powerpc/mambo/mambo_console.c Sat Nov 21 15:04:01 2009 (r199635)
+++ projects/ppc64/sys/powerpc/mambo/mambo_console.c Sat Nov 21 16:16:30 2009 (r199636)
@@ -157,7 +157,7 @@ mambo_cngetc(struct consdev *cp)
ch = mambocall(MAMBO_CONSOLE_READ);
- if (ch > 0) {
+ if (ch > 0 && ch < 0xff) {
#if defined(KDB) && defined(ALT_BREAK_TO_DEBUGGER)
int kdb_brk;
More information about the svn-src-projects
mailing list