From aefa24a7f2eda27e3b43ae0908fa6072d48aba17 Mon Sep 17 00:00:00 2001 From: jhb Date: Sat, 3 Mar 2012 14:25:36 +0000 Subject: [PATCH] Update the pci_get_vpd_readonly() wrapper to use 'vptr' instead of 'identptr' for its last parameter to match the default implementation as well as the method definition in pci_if.m. --- sys/dev/pci/pcivar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h index 87abebae738c..fe00cfe9126d 100644 --- a/sys/dev/pci/pcivar.h +++ b/sys/dev/pci/pcivar.h @@ -350,9 +350,9 @@ pci_get_vpd_ident(device_t dev, const char **identptr) } static __inline int -pci_get_vpd_readonly(device_t dev, const char *kw, const char **identptr) +pci_get_vpd_readonly(device_t dev, const char *kw, const char **vptr) { - return(PCI_GET_VPD_READONLY(device_get_parent(dev), dev, kw, identptr)); + return(PCI_GET_VPD_READONLY(device_get_parent(dev), dev, kw, vptr)); } /*