summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Kasanen <[email protected]>2011-07-01 13:49:18 +0300
committerCorbin Simpson <[email protected]>2011-08-17 00:39:17 -0700
commitb629d5ba24f76ed6af35455a874d351fde1e5bbe (patch)
tree36b3ebd1bb15896b6190bf8c2edbf5101704038e
parent7125f1e87df359be4aad1d801b633146eeac7292 (diff)
xmlconfig: Make the error message more informative
-rw-r--r--src/mesa/drivers/dri/common/xmlconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/xmlconfig.c b/src/mesa/drivers/dri/common/xmlconfig.c
index 77967ac2a43..12dd31bb162 100644
--- a/src/mesa/drivers/dri/common/xmlconfig.c
+++ b/src/mesa/drivers/dri/common/xmlconfig.c
@@ -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)