projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7125f1e
)
xmlconfig: Make the error message more informative
author
Lauri Kasanen
<cand@gmx.com>
Fri, 1 Jul 2011 10:49:18 +0000
(13:49 +0300)
committer
Corbin Simpson
<MostAwesomeDude@gmail.com>
Wed, 17 Aug 2011 07:39:17 +0000
(
00:39
-0700)
src/mesa/drivers/dri/common/xmlconfig.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/common/xmlconfig.c
b/src/mesa/drivers/dri/common/xmlconfig.c
index 77967ac2a439fdff4c743dbca918ff25940eff7b..12dd31bb1621982c9b217c00a6f26d2c7df6e6bc 100644
(file)
--- 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)