mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/term/terminfo.c (grub_terminfo_output_unregister):
Mark calling with invalid term as GRUB_ERR_BUG.
This commit is contained in:
1 parent
0cf69874ee
commit
dded554099
2 files changed
+6
-1
No files matched your search
@@ -205,7 +205,7 @@ grub_terminfo_output_unregister (struct grub_term_output *term)
|
||||
*ptr = ((struct grub_terminfo_output_state *) (*ptr)->data)->next;
|
||||
return GRUB_ERR_NONE;
|
||||
}
|
||||
return grub_error (GRUB_ERR_BAD_ARGUMENT, "terminal not found");
|
||||
return grub_error (GRUB_ERR_BUG, "terminal not found");
|
||||
}
|
||||
|
||||
/* Wrapper for grub_putchar to write strings. */
|
||||
|
||||
Reference in new issue
Block a user