Spit out an error when there is no valid FB device, instead of just failing

silently. (Debian #070)
This commit is contained in:
Daniel Stone 2005-08-26 06:29:15 +00:00
parent b48a24e796
commit b8f0d4c3eb

View File

@ -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