On Thu, Dec 09, 2021 at 11:14:58AM -0600, Glenn Washburn wrote:
> Call grub_partition_get_name unconditionally to initialize the part
> variable. Then part will only be NULL when grub_partition_get_name errors.
> Note that when source->partition is NULL, then grub_partition_get_name
> returns an allocated empty string. So no comma or partition will be printed,
> as desired.
>
> Signed-off-by: Glenn Washburn <developm...@efficientek.com>

Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to