Skip to content

Commit

Permalink
xmlconfig: Make the error message more informative
Browse files Browse the repository at this point in the history
  • Loading branch information
clbr authored and MostAwesomeDude committed Aug 17, 2011
1 parent 7125f1e commit b629d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mesa/drivers/dri/common/xmlconfig.c
Expand Up @@ -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)
Expand Down

0 comments on commit b629d5b

Please sign in to comment.