From: Ben Gras Date: Fri, 23 Sep 2005 20:59:45 +0000 (+0000) Subject: Fix by Kenichi TAKAHAGI X-Git-Tag: v3.1.0~27 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=2559cff6dc977921f11e1bfbb24d245cc0788282;p=minix.git Fix by Kenichi TAKAHAGI --- diff --git a/drivers/tty/keyboard.c b/drivers/tty/keyboard.c index ef6add1bd..0404755ed 100644 --- a/drivers/tty/keyboard.c +++ b/drivers/tty/keyboard.c @@ -441,7 +441,7 @@ message *m_ptr; /* pointer to the request message */ fkey_obs[i].events = 0; bit_unset(m_ptr->FKEY_FKEYS, i+1); } else { - printf("WARNING, fkey_map failed F%d\n", i); + printf("WARNING, fkey_map failed F%d\n", i+1); result = EBUSY; /* report failure, but try rest */ } } @@ -453,7 +453,7 @@ message *m_ptr; /* pointer to the request message */ sfkey_obs[i].events = 0; bit_unset(m_ptr->FKEY_SFKEYS, i+1); } else { - printf("WARNING, fkey_map failed Shift F%d\n", i); + printf("WARNING, fkey_map failed Shift F%d\n", i+1); result = EBUSY; /* report failure but try rest */ } }