From: Martin Mares Date: Sun, 22 Nov 2009 17:18:31 +0000 (+0100) Subject: Shorten BAR size suffixes X-Git-Tag: v3.1.5~5 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=0188807ce1b0156ce93ffa91b367511ae2fe8cfe;p=pciutils.git Shorten BAR size suffixes `[size=2MiB]' looks too ugly and too long. Replaced by `[size=2M]'. --- 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;