mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
Fix a compilation bug when disabling serial support.
This commit is contained in:
1 parent
d619861976
commit
d05b7706ed
2 files changed
+8
No files matched your search
@@ -1,3 +1,9 @@
|
|||||||
|
2001-11-07 Yoshinori K. Okuji <okuji@gnu.org>
|
||||||
|
|
||||||
|
* stage2/builtins.c (terminal_func) [!SUPPORT_SERIAL]: Disable
|
||||||
|
the wait code, as it is usable only when serial support is on.
|
||||||
|
Reported by Karl Hammar <karl@kalle.csb.ki.se>.
|
||||||
|
|
||||||
2001-10-27 Yoshinori K. Okuji <okuji@gnu.org>
|
2001-10-27 Yoshinori K. Okuji <okuji@gnu.org>
|
||||||
|
|
||||||
JFS and XFS support is added.
|
JFS and XFS support is added.
|
||||||
|
|||||||
@@ -3940,6 +3940,7 @@ terminal_func (char *arg, int flags)
|
|||||||
arg = skip_to (0, arg);
|
arg = skip_to (0, arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SUPPORT_SERIAL
|
||||||
/* If a seial console is turned on, wait until the user pushes any key. */
|
/* If a seial console is turned on, wait until the user pushes any key. */
|
||||||
if (terminal & TERMINAL_SERIAL)
|
if (terminal & TERMINAL_SERIAL)
|
||||||
{
|
{
|
||||||
@@ -3984,6 +3985,7 @@ terminal_func (char *arg, int flags)
|
|||||||
/* Expired. */
|
/* Expired. */
|
||||||
terminal &= (default_terminal | TERMINAL_DUMB);
|
terminal &= (default_terminal | TERMINAL_DUMB);
|
||||||
}
|
}
|
||||||
|
#endif /* SUPPORT_SERIAL */
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user