From 0188807ce1b0156ce93ffa91b367511ae2fe8cfe Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 22 Nov 2009 18:18:31 +0100 Subject: [PATCH] Shorten BAR size suffixes `[size=2MiB]' looks too ugly and too long. Replaced by `[size=2M]'. --- lspci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lspci.c b/lspci.c index ce00316..54317cf 100644 --- a/lspci.c +++ b/lspci.c @@ -330,7 +330,7 @@ show_terse(struct device *d) static void show_size(pciaddr_t x) { - static const char suffix[][4] = { "", "KiB", "MiB", "GiB", "TiB" }; + static const char suffix[][2] = { "", "K", "M", "G", "T" }; unsigned i; if (!x) return; -- 2.39.2