mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Fix accidental commit (bug) in linuxOpenLegacy.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user