Adjust for new command interface.
This commit is contained in:
parent
cdefd058dc
commit
394ec6b646
2 changed files with 9 additions and 9 deletions
|
@ -132,12 +132,12 @@ grub_cmd_memmap (struct grub_arg_list *state, int argc, char **args)
|
|||
GRUB_MOD_INIT(memmap)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
grub_register_command ("memmap", grub_cmd_memmap, GRUB_COMMAND_FLAG_BOTH,
|
||||
"memmap",
|
||||
"Display memory map.", NULL);
|
||||
grub_register_extcmd ("memmap", grub_cmd_memmap, GRUB_COMMAND_FLAG_BOTH,
|
||||
"memmap",
|
||||
"Display memory map.", NULL);
|
||||
}
|
||||
|
||||
GRUB_MOD_FINI(memmap)
|
||||
{
|
||||
grub_unregister_command ("memmap");
|
||||
grub_unregister_extcmd ("memmap");
|
||||
}
|
||||
|
|
|
@ -246,13 +246,13 @@ grub_cmd_systab (struct grub_arg_list *state, int argc, char **args)
|
|||
|
||||
GRUB_MOD_INIT(systab)
|
||||
{
|
||||
(void)mod; /* To stop warning. */
|
||||
grub_register_command ("systab", grub_cmd_systab, GRUB_COMMAND_FLAG_BOTH,
|
||||
"systab [NAME]",
|
||||
"Display EFI system table.", NULL);
|
||||
(void) mod; /* To stop warning. */
|
||||
grub_register_extcmd ("systab", grub_cmd_systab, GRUB_COMMAND_FLAG_BOTH,
|
||||
"systab [NAME]",
|
||||
"Display EFI system table.", NULL);
|
||||
}
|
||||
|
||||
GRUB_MOD_FINI(systab)
|
||||
{
|
||||
grub_unregister_command ("systab");
|
||||
grub_unregister_extcmd ("systab");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue