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
|
@ -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…
Reference in New Issue