return GRUB_ERR_NONE instead of setting grub_errno

This commit is contained in:
Colin Watson 2010-12-23 12:19:55 +00:00
parent 1c95b6d2bf
commit af4e4a875a

View file

@ -1235,9 +1235,7 @@ grub_gfxterm_background_color_cmd (grub_command_t cmd __attribute__ ((unused)),
/* Mark whole screen as dirty. */
dirty_region_add (0, 0, window.width, window.height);
/* All was ok. */
grub_errno = GRUB_ERR_NONE;
return grub_errno;
return GRUB_ERR_NONE;
}
static struct grub_term_output grub_video_term =