From: Gerd Hoffmann Date: Wed, 26 May 2021 07:34:40 +0000 (+0200) Subject: nvme: drive desc should not include the newline X-Git-Tag: rel-1.15.0~9 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=81433aa8a19b36f9e3d50697608c93d8a28bf772;p=seabios.git nvme: drive desc should not include the newline Signed-off-by: Gerd Hoffmann --- diff --git a/src/hw/nvme.c b/src/hw/nvme.c index f64eba8..746e468 100644 --- a/src/hw/nvme.c +++ b/src/hw/nvme.c @@ -297,11 +297,11 @@ nvme_probe_ns(struct nvme_ctrl *ctrl, u32 ns_idx, u8 mdts) ns->dma_buffer = zalloc_page_aligned(&ZoneHigh, NVME_PAGE_SIZE); char *desc = znprintf(MAXDESCSIZE, "NVMe NS %u: %llu MiB (%llu %u-byte " - "blocks + %u-byte metadata)\n", + "blocks + %u-byte metadata)", ns_id, (ns->lba_count * ns->block_size) >> 20, ns->lba_count, ns->block_size, ns->metadata_size); - dprintf(3, "%s", desc); + dprintf(3, "%s\n", desc); boot_add_hd(&ns->drive, desc, bootprio_find_pci_device(ctrl->pci)); free_buffer: