mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
xmlconfig: Make the error message more informative
This commit is contained in:
parent
7125f1e87d
commit
b629d5ba24
1 changed files with 1 additions and 1 deletions
|
|
@ -567,7 +567,7 @@ static void parseOptInfoAttr (struct OptInfoData *data, const XML_Char **attr) {
|
|||
} else
|
||||
defaultVal = attrVal[OA_DEFAULT];
|
||||
if (!parseValue (&cache->values[opt], cache->info[opt].type, defaultVal))
|
||||
XML_FATAL ("illegal default value: %s.", defaultVal);
|
||||
XML_FATAL ("illegal default value for %s: %s.", cache->info[opt].name, defaultVal);
|
||||
|
||||
if (attrVal[OA_VALID]) {
|
||||
if (cache->info[opt].type == DRI_BOOL)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue