gptsync: Add missing device_close.
Found by: Coverity scan
This commit is contained in:
parent
95a8c9182b
commit
9d999852a2
1 changed files with 2 additions and 0 deletions
|
@ -235,6 +235,8 @@ grub_cmd_gptsync (grub_command_t cmd __attribute__ ((unused)),
|
|||
return grub_errno;
|
||||
}
|
||||
|
||||
grub_device_close (dev);
|
||||
|
||||
grub_printf_ (N_("New MBR is written to `%s'\n"), args[0]);
|
||||
|
||||
return GRUB_ERR_NONE;
|
||||
|
|
Loading…
Reference in a new issue