Update loadmod.c

This commit is contained in:
Collin 2025-06-30 15:34:06 -05:00 committed by GitHub
parent e0854fdb90
commit e0032239d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -415,13 +415,11 @@ static Bool
CheckVersion(const char *module, XF86ModuleVersionInfo * data,
const XF86ModReqInfo * req)
{
int vercode[4];
long ver = data->xf86version;
/* Only ignore ABI mismatches for NVIDIA proprietary driver */
if (data->vendor &&
(strstr(data->vendor, "NVIDIA") != NULL || {
LoaderOptions |= LDR_OPT_ABI_MISMATCH_NONFATAL;
}
/* Only ignore ABI mismatches for NVIDIA proprietary driver */
if (data->vendor && strstr(data->vendor, "NVIDIA") != NULL) {
LoaderOptions |= LDR_OPT_ABI_MISMATCH_NONFATAL;
}
MessageType errtype;
LogMessage(X_INFO, "Module %s: vendor=\"%s\"\n",