ia64/xen-unstable

changeset 191:959e09645b6e

bitkeeper revision 1.48.1.2 (3e4f75dayX1HY2Epm95DFR6vJ0xCVw)

utterly minor change to show keyhandlers
author iap10@labyrinth.cl.cam.ac.uk
date Sun Feb 16 11:28:26 2003 +0000 (2003-02-16)
parents 0de4dd485c77
children 03794b32489f
files xen-2.4.16/common/keyhandler.c
line diff
     1.1 --- a/xen-2.4.16/common/keyhandler.c	Sat Feb 15 20:28:51 2003 +0000
     1.2 +++ b/xen-2.4.16/common/keyhandler.c	Sun Feb 16 11:28:26 2003 +0000
     1.3 @@ -46,7 +46,9 @@ void show_handlers(u_char key, void *dev
     1.4      printk("'%c' pressed -> showing installed handlers\n", key); 
     1.5      for(i=0; i < KEY_MAX; i++) 
     1.6  	if(key_table[i].handler) 
     1.7 -	    printk("ASCII '%02x' => %s\n", i, key_table[i].desc);
     1.8 +	    printk(" key '%c' (ascii '%02x') => %s\n", 
     1.9 +			(i<33 || i>126)?(' '):(i),i,
    1.10 +			key_table[i].desc);
    1.11      return; 
    1.12  }
    1.13