Update loadmod.c
This commit is contained in:
parent
e0854fdb90
commit
e0032239d2
|
@ -415,13 +415,11 @@ static Bool
|
||||||
CheckVersion(const char *module, XF86ModuleVersionInfo * data,
|
CheckVersion(const char *module, XF86ModuleVersionInfo * data,
|
||||||
const XF86ModReqInfo * req)
|
const XF86ModReqInfo * req)
|
||||||
{
|
{
|
||||||
int vercode[4];
|
|
||||||
long ver = data->xf86version;
|
long ver = data->xf86version;
|
||||||
/* Only ignore ABI mismatches for NVIDIA proprietary driver */
|
/* Only ignore ABI mismatches for NVIDIA proprietary driver */
|
||||||
if (data->vendor &&
|
if (data->vendor && strstr(data->vendor, "NVIDIA") != NULL) {
|
||||||
(strstr(data->vendor, "NVIDIA") != NULL || {
|
|
||||||
LoaderOptions |= LDR_OPT_ABI_MISMATCH_NONFATAL;
|
LoaderOptions |= LDR_OPT_ABI_MISMATCH_NONFATAL;
|
||||||
}
|
}
|
||||||
MessageType errtype;
|
MessageType errtype;
|
||||||
|
|
||||||
LogMessage(X_INFO, "Module %s: vendor=\"%s\"\n",
|
LogMessage(X_INFO, "Module %s: vendor=\"%s\"\n",
|
||||||
|
|
Loading…
Reference in New Issue