From 716655288a53c95fad203ebf21d0b8ffdc2f7525 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Tue, 28 Jul 2009 22:35:39 +0200 Subject: 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 --- disk/part_efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'disk/part_efi.c') diff --git a/disk/part_efi.c b/disk/part_efi.c index 626f022f9d..1b04c27cea 100644 --- a/disk/part_efi.c +++ b/disk/part_efi.c @@ -169,7 +169,7 @@ int get_partition_info_efi(block_dev_desc_t * dev_desc, int part, - 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__, -- cgit v1.2.1