]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/commands/lsacpi.c (grub_cmd_lsacpi): Fix prototype.
authorSzymon Janc <szymon@janc.net.pl>
Sat, 11 Sep 2010 18:08:37 +0000 (20:08 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 11 Sep 2010 18:08:37 +0000 (20:08 +0200)
ChangeLog
grub-core/commands/lsacpi.c

index b2164f905dc3cac91b34786492d5ae7a0e6b93f5..330656cc3a6f5ec32b6bcdf3bb0121e7636dd672 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index d20b80fed0a67f1945353f7a8d803c9c348c7ad0..149de6b79fbd5369d7d05c9582f8897085cb5060 100644 (file)
@@ -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)