mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-02 01:30:38 +01:00
Spit out an error when there is no valid FB device, instead of just failing
silently. (Debian #070)
This commit is contained in:
parent
b48a24e796
commit
b8f0d4c3eb
1 changed files with 3 additions and 0 deletions
|
|
@ -309,7 +309,10 @@ fbdev_open_pci(pciVideoPtr pPci, char **namep)
|
|||
}
|
||||
if (namep)
|
||||
*namep = NULL;
|
||||
xf86DrvMsg(-1, X_ERROR,
|
||||
"Unable to find a valid framebuffer device\n");
|
||||
return -1;
|
||||
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue