Partition support: remove newline from partition name
Remove bogus newline character that got added to the .name field of
the disk_partition_t structure.
Signed-off-by: Wolfgang Denk <wd@denx.de>
diff --git a/disk/part_efi.c b/disk/part_efi.c
index 626f022..1b04c27 100644
--- a/disk/part_efi.c
+++ b/disk/part_efi.c
@@ -169,7 +169,7 @@
- info->start;
info->blksz = GPT_BLOCK_SIZE;
- sprintf((char *)info->name, "%s%d\n", GPT_ENTRY_NAME, part);
+ sprintf((char *)info->name, "%s%d", GPT_ENTRY_NAME, part);
sprintf((char *)info->type, "U-Boot");
debug("%s: start 0x%lX, size 0x%lX, name %s", __FUNCTION__,