From: Vladimir 'phcoder' Serbinenko Date: Wed, 9 Dec 2009 19:34:14 +0000 (+0100) Subject: correct return value of checkkey for null-terminal X-Git-Tag: 1.98~160^2~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=02772f981b413ff6bbd13744570737ec2fc6bae6;p=thirdparty%2Fgrub.git correct return value of checkkey for null-terminal --- diff --git a/kern/term.c b/kern/term.c index 0e3595df3..52a265a6d 100644 --- a/kern/term.c +++ b/kern/term.c @@ -145,7 +145,7 @@ int grub_checkkey (void) { if (!grub_cur_term_input) - return 0; + return -1; return (grub_cur_term_input->checkkey) (); }