]> git.ipfire.org Git - thirdparty/pciutils.git/blobdiff - lspci.c
lspci: Use #defines for greppability
[thirdparty/pciutils.git] / lspci.c
diff --git a/lspci.c b/lspci.c
index 3aeaf46e4b431a0ea92117520ae392c1cb2d3b19..c6f150006d7e57c07ec42b9c4671423cc32f02d3 100644 (file)
--- a/lspci.c
+++ b/lspci.c
@@ -359,7 +359,7 @@ show_range(char *prefix, u64 base, u64 limit, int is_64bit)
 
   printf("%s: ", prefix);
   if (is_64bit)
-    printf("%016" PCI_U64_FMT "x-%016" PCI_U64_FMT "x", base, limit);
+    printf("%016" PCI_U64_FMT_X "-%016" PCI_U64_FMT_X, base, limit);
   else
     printf("%08x-%08x", (unsigned) base, (unsigned) limit);
   if (base <= limit)