[PATCH libxkbfile 01/12] Fix error message to read correct value
Pauli Nieminen
ext-pauli.nieminen at nokia.com
Wed Jul 21 05:02:45 PDT 2010
Error message is trying to read unitialized type value from stack
variable instead of parameter.
Signed-off-by: Pauli Nieminen <ext-pauli.nieminen at nokia.com>
---
src/xkmread.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/xkmread.c b/src/xkmread.c
index a172bea..96641d2 100644
--- a/src/xkmread.c
+++ b/src/xkmread.c
@@ -1216,7 +1216,7 @@ char name[100];
break;
default:
_XkbLibError(_XkbErrBadImplementation,
- XkbConfigText(tmpTOC.type,XkbMessage),0);
+ XkbConfigText(toc->type, XkbMessage),0);
break;
}
return NULL;
--
1.6.3.3
More information about the xorg-devel
mailing list