]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/partmap/gpt.c (gpt_partition_map_embed): Rename disk to
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 10 Feb 2012 11:24:03 +0000 (12:24 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 10 Feb 2012 11:24:03 +0000 (12:24 +0100)
disk_ to avoid shadowing.

ChangeLog
grub-core/partmap/gpt.c

index c6d950ca8857bfe3798f33945360a7da7011b869..90f24c274f9656baa5106fad290ef0820946a05e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-10  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/partmap/gpt.c (gpt_partition_map_embed): Rename disk to
+       disk_ to avoid shadowing.
+
 2012-02-10  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/lib/LzFind.c (MatchFinder_GetIndexByte): Rename index to
index ef89a902f175b5548403b81a7f6228b3827834d9..db4b5d004f8226d8ecf78cb2b24d2eafeb3fc95a 100644 (file)
@@ -127,7 +127,7 @@ grub_gpt_partition_map_iterate (grub_disk_t disk,
 
 #ifdef GRUB_UTIL
 static grub_err_t
-gpt_partition_map_embed (struct grub_disk *disk, unsigned int *nsectors,
+gpt_partition_map_embed (struct grub_disk *disk_, unsigned int *nsectors,
                         grub_embed_type_t embed_type,
                         grub_disk_addr_t **sectors)
 {
@@ -168,7 +168,7 @@ gpt_partition_map_embed (struct grub_disk *disk, unsigned int *nsectors,
     return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
                       "GPT currently supports only PC-BIOS embedding");
 
-  err = grub_gpt_partition_map_iterate (disk, find_usable_region);
+  err = grub_gpt_partition_map_iterate (disk_, find_usable_region);
   if (err)
     return err;