get_key: Valid key values are positive
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 17 Apr 2012 18:25:53 +0000 (11:25 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 17 Apr 2012 18:25:53 +0000 (11:25 -0700)
commitd5e02fb16a11bfdbce1e90a39e6cb5f2ad925389
tree8b5bd7a18b18a586c60893ee5bfd2db952c903e5
parent429a41b4d33e8c34638de56a4a23e67337f9f34a
get_key: Valid key values are positive

Make sure we return positive values for valid keystrokes.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
com32/elflink/ldlinux/get_key.c