mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/commands/lsacpi.c (grub_cmd_lsacpi): Fix prototype.
This commit is contained in:
1 parent
4df7996d87
commit
3c70f225b2
2 files changed
+8
-3
No files matched your search
@@ -1,3 +1,7 @@
|
||||
2010-09-11 Szymon Janc <szymon@janc.net.pl>
|
||||
|
||||
* grub-core/commands/lsacpi.c (grub_cmd_lsacpi): Fix prototype.
|
||||
|
||||
2010-09-11 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Shutdown using ACPI.
|
||||
|
||||
@@ -196,10 +196,11 @@ static const struct grub_arg_option options[] = {
|
||||
};
|
||||
|
||||
static grub_err_t
|
||||
grub_cmd_lsacpi (struct grub_extcmd *cmd, int argc __attribute__ ((unused)),
|
||||
grub_cmd_lsacpi (struct grub_extcmd_context *ctxt,
|
||||
int argc __attribute__ ((unused)),
|
||||
char **args __attribute__ ((unused)))
|
||||
{
|
||||
if (!cmd->state[1].set)
|
||||
if (!ctxt->state[1].set)
|
||||
{
|
||||
struct grub_acpi_rsdp_v10 *rsdp1 = grub_acpi_get_rsdpv1 ();
|
||||
if (!rsdp1)
|
||||
@@ -212,7 +213,7 @@ grub_cmd_lsacpi (struct grub_extcmd *cmd, int argc __attribute__ ((unused)),
|
||||
}
|
||||
}
|
||||
|
||||
if (!cmd->state[0].set)
|
||||
if (!ctxt->state[0].set)
|
||||
{
|
||||
struct grub_acpi_rsdp_v20 *rsdp2 = grub_acpi_get_rsdpv2 ();
|
||||
if (!rsdp2)
|
||||
|
||||
Reference in new issue
Block a user