From 3604c418a73fedeb29b8902f36e6ee4dbbb68113 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 31 Aug 2016 14:30:48 +0200 Subject: Avoid using non-ascii source encoding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * xen/console.c (hypcnintr): Replace latin1 £ character with the 0xA3 number. --- xen/console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xen/console.c') 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; } -- cgit v1.2.3