summaryrefslogtreecommitdiffstats
path: root/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'pci.c')
-rw-r--r--pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pci.c b/pci.c
index 5bc2a45..23cbd76 100644
--- a/pci.c
+++ b/pci.c
@@ -12,6 +12,7 @@
#include <pci/header.h>
#include "common.h"
+/* /proc files're 256 bytes but we only need first 64 bytes*/
#define CONFIG_SPACE_SIZE 64
static char *proc_pci_path_default = "/proc/bus/pci/devices";