]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
small fixes
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 6 Nov 2009 22:02:08 +0000 (23:02 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 6 Nov 2009 22:02:08 +0000 (23:02 +0100)
commands/lspci.c

index 3d3a9ac0c5e6f90031351e426755a99facd4c677..fd07ad8d64ca79fe1b8cf6ff46bbbd09078050fb 100644 (file)
@@ -20,7 +20,7 @@
 #include <grub/pci.h>
 #include <grub/dl.h>
 #include <grub/misc.h>
-#include <grub/command.h>
+#include <grub/extcmd.h>
 
 struct grub_pci_classname
 {
@@ -178,7 +178,7 @@ grub_lspci_iter (int bus, int dev, int func, grub_pci_id_t pciid)
                {
                  space |= grub_pci_make_address (dev, reg);
                  reg++;
-                 grub_printf ("\t64-bit memory space %d at 0x0%16llx [%s]\n",
+                 grub_printf ("\t64-bit memory space %d at 0x%016llx [%s]\n",
                               i, (unsigned long long)
                               (space & GRUB_PCI_ADDR_MEM_MASK),
                               space & GRUB_PCI_ADDR_MEM_PREFETCH
@@ -186,7 +186,7 @@ grub_lspci_iter (int bus, int dev, int func, grub_pci_id_t pciid)
                  
                }
              else
-               grub_printf ("\t32-bit memory space %d at 0x0%16llx [%s]\n", i,
+               grub_printf ("\t32-bit memory space %d at 0x%016llx [%s]\n", i,
                             (unsigned long long) 
                             (space & GRUB_PCI_ADDR_MEM_MASK),
                             space & GRUB_PCI_ADDR_MEM_PREFETCH