diff options
-rw-r--r-- | src/linux_sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux_sysfs.c b/src/linux_sysfs.c index bbd4dfa..2085ffb 100644 --- a/src/linux_sysfs.c +++ b/src/linux_sysfs.c @@ -122,7 +122,7 @@ scan_sys_pci_filter( const struct dirent * d ) int populate_entries( struct pci_system * p ) { - struct dirent ** devices; + struct dirent ** devices = NULL; int n; int i; int err = 0; |