summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-08-22 12:56:45 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-08-22 12:57:03 +0200
commit4acc8fbda38887826a2e356f1394cc346c96217f (patch)
tree9835f5ce2290403064db54744d86dbf32fd4e2b7
parent96a5ee2a14bc1897635060ef14083fd6ff7a7959 (diff)
Fix computation
* i386/i386at/com.c (comintr): Fix computation of '@'.
-rw-r--r--i386/i386at/com.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386at/com.c b/i386/i386at/com.c
index 7814240..c36cb6a 100644
--- a/i386/i386at/com.c
+++ b/i386/i386at/com.c
@@ -528,7 +528,7 @@ comintr(int unit)
}
#if MACH_KDB
- if (escape && c == 'D'-'A'-1)
+ if (escape && c == 'D'-('A'-1))
/* ctrl-alt-d pressed,
invoke debugger */
kdb_kintr();