gpt: rename and update documentation for grub_gpt_update
The function now does more than just recompute checksums so give it a more general name to reflect that.
This commit is contained in:
parent
7cd866bd2d
commit
8f7045ee19
3 changed files with 7 additions and 6 deletions
|
@ -636,7 +636,7 @@ grub_gpt_repair (grub_disk_t disk, grub_gpt_t gpt)
|
|||
else
|
||||
return grub_error (GRUB_ERR_BUG, "No valid GPT");
|
||||
|
||||
if (grub_gpt_update_checksums (gpt))
|
||||
if (grub_gpt_update (gpt))
|
||||
return grub_errno;
|
||||
|
||||
grub_dprintf ("gpt", "repairing GPT for %s successful\n", disk->name);
|
||||
|
@ -645,7 +645,7 @@ grub_gpt_repair (grub_disk_t disk, grub_gpt_t gpt)
|
|||
}
|
||||
|
||||
grub_err_t
|
||||
grub_gpt_update_checksums (grub_gpt_t gpt)
|
||||
grub_gpt_update (grub_gpt_t gpt)
|
||||
{
|
||||
grub_uint32_t crc;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue