mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/osdep/unix/emuconsole.c (put): Pacify the compiler on
systems that require checking the return value of write.
This commit is contained in:
1 parent
11b2a9b70b
commit
9b45c0733e
2 files changed
+12
-1
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2013-11-13 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
|
* grub-core/osdep/unix/emuconsole.c (put): Pacify the compiler on
|
||||||
|
systems that require checking the return value of write.
|
||||||
|
|
||||||
2013-11-13 Colin Watson <cjwatson@ubuntu.com>
|
2013-11-13 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
* util/grub-install.in (efi_quiet): Fix inverted logic: make
|
* util/grub-install.in (efi_quiet): Fix inverted logic: make
|
||||||
|
|||||||
@@ -49,8 +49,14 @@ static void
|
|||||||
put (struct grub_term_output *term __attribute__ ((unused)), const int c)
|
put (struct grub_term_output *term __attribute__ ((unused)), const int c)
|
||||||
{
|
{
|
||||||
char chr = c;
|
char chr = c;
|
||||||
|
ssize_t actual;
|
||||||
|
|
||||||
write (STDOUT_FILENO, &chr, 1);
|
actual = write (STDOUT_FILENO, &chr, 1);
|
||||||
|
if (actual < 1)
|
||||||
|
{
|
||||||
|
/* We cannot do anything about this, but some systems require us to at
|
||||||
|
least pretend to check the result. */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|||||||
Reference in new issue
Block a user