projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
043eda8
)
rules: include the path in failed-to-map error message
author
Ran Benita
<ran234@gmail.com>
Mon, 10 Feb 2014 09:11:27 +0000
(11:11 +0200)
committer
Ran Benita
<ran234@gmail.com>
Mon, 10 Feb 2014 10:26:40 +0000
(12:26 +0200)
Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/rules.c
patch
|
blob
|
history
diff --git
a/src/xkbcomp/rules.c
b/src/xkbcomp/rules.c
index c0fd65616e503ebb6e7f9be8792030dde2cd61f4..6418ac86a95c72c18af090970f555c5eb9bfaff1 100644
(file)
--- a/
src/xkbcomp/rules.c
+++ b/
src/xkbcomp/rules.c
@@
-1004,7
+1004,8
@@
xkb_components_from_rules(struct xkb_context *ctx,
ret = map_file(file, &string, &size);
if (!ret) {
- log_err(ctx, "Couldn't read rules file: %s\n", strerror(errno));
+ log_err(ctx, "Couldn't read rules file \"%s\": %s\n",
+ path, strerror(errno));
goto err_file;
}