Inform the user when the partition table has been changed as that's a
very useful information.

Signed-off-by: Sascha Hauer <[email protected]>
---
 common/partitions/efi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/partitions/efi.c b/common/partitions/efi.c
index 04f7117389..ab920e645a 100644
--- a/common/partitions/efi.c
+++ b/common/partitions/efi.c
@@ -82,6 +82,8 @@ static int gpt_refresh_one(struct block_device *blk)
        if (ret)
                dev_err(blk->dev, "Refreshing partition table failed: %pe\n",
                        ERR_PTR(ret));
+       else
+               dev_info(blk->dev, "Refreshed partition table\n");
 
        return ret;
 }

-- 
2.47.3


Reply via email to