projects
/
platform
/
upstream
/
libpciaccess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adc46f6
)
Bug #14818: Actually return the PCI vendor name, instead of NULL.
author
Doug Chapman
<doug.chapman@hp.com>
Thu, 6 Mar 2008 19:22:17 +0000
(14:22 -0500)
committer
Adam Jackson
<ajax@redhat.com>
Thu, 6 Mar 2008 19:22:17 +0000
(14:22 -0500)
src/common_device_name.c
patch
|
blob
|
history
diff --git
a/src/common_device_name.c
b/src/common_device_name.c
index
66c2104
..
b105187
100644
(file)
--- a/
src/common_device_name.c
+++ b/
src/common_device_name.c
@@
-228,7
+228,7
@@
populate_vendor( struct pci_id_leaf * vend, int fill_device_data )
/* vendor_name may already be set from a previous invocation
* of this function with fill_device_data = 0.
*/
- if (vend->vendor_name
!
= NULL) {
+ if (vend->vendor_name
=
= NULL) {
vend->vendor_name = strdup( & buf[ num_tabs + 6 ] );
}