mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-28 18:00:07 +01:00
Fix accidental commit (bug) in linuxOpenLegacy.
This commit is contained in:
parent
31bd8d1507
commit
780b55ec6f
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue