summaryrefslogtreecommitdiffstats
path: root/disk/part_efi.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-07-28 22:35:39 +0200
committerWolfgang Denk <wd@denx.de>2009-08-09 22:52:38 +0200
commit716655288a53c95fad203ebf21d0b8ffdc2f7525 (patch)
tree1880f9ed3e4cdbf6820a07a3f713953d56720a55 /disk/part_efi.c
parent3f1649fb0dfb1e5c8890de154c332c394db5cdb5 (diff)
downloadblackbird-obmc-uboot-716655288a53c95fad203ebf21d0b8ffdc2f7525.tar.gz
blackbird-obmc-uboot-716655288a53c95fad203ebf21d0b8ffdc2f7525.zip
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>
Diffstat (limited to 'disk/part_efi.c')
-rw-r--r--disk/part_efi.c2
1 files changed, 1 insertions, 1 deletions
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__,
OpenPOWER on IntegriCloud