diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-08-31 14:30:48 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-08-31 14:30:48 +0200 |
commit | 3604c418a73fedeb29b8902f36e6ee4dbbb68113 (patch) | |
tree | 72b35fe755c1a6b3aab76efcd80f5ca74fefd80c /xen | |
parent | 44e8b7765613c29b66d17563c7c0cb5679fdb955 (diff) | |
download | gnumach-3604c418a73fedeb29b8902f36e6ee4dbbb68113.tar.gz gnumach-3604c418a73fedeb29b8902f36e6ee4dbbb68113.tar.bz2 gnumach-3604c418a73fedeb29b8902f36e6ee4dbbb68113.zip |
Avoid using non-ascii source encoding
* xen/console.c (hypcnintr): Replace latin1 £ character with the 0xA3
number.
Diffstat (limited to 'xen')
-rw-r--r-- | xen/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/console.c b/xen/console.c index 9e8db8f8..aed63cb5 100644 --- a/xen/console.c +++ b/xen/console.c @@ -116,8 +116,8 @@ static void hypcnintr(int unit, spl_t spl, void *ret_addr, void *regs) { mb(); console->in_cons++; #if MACH_KDB - if (c == (char)'£') { - printf("£ pressed\n"); + if (c == (char)0xA3) { + printf("pound pressed\n"); kdb_kintr(); continue; } |