Fix accidental commit (bug) in linuxOpenLegacy.
This commit is contained in:
parent
31bd8d1507
commit
780b55ec6f
|
@ -432,8 +432,8 @@ linuxMapPci(int ScreenNum, int Flags, struct pci_device *dev,
|
|||
static int
|
||||
linuxOpenLegacy(struct pci_device *dev, char *name)
|
||||
{
|
||||
static const char PREFIX[] = "/sys/class/pci_bus/%04x:%02x/legacy_%s";
|
||||
char path[sizeof(PREFIX) + 3];
|
||||
static const char PREFIX[] = "/sys/class/pci_bus/%04x:%02x/%s";
|
||||
char path[sizeof(PREFIX) + 10];
|
||||
pciBusInfo_t *pBusInfo;
|
||||
int fd = -1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user